nginx-proxy-manager
nginx-proxy-manager copied to clipboard
Issue with TP-Link ER605 Omada Router and local SSL certificates
I'm trying to setup Nginx Proxy Manager to get SSL certificates for all my local services. All my services are working fine and already have SSL certificates thanks to Nginx Proxy Manager. The only one that is not working is my router management page, for which the login is normally is: https://192.168.0.1/webpages/login.html and after login is: https://192.168.0.1/webpages/index.html
When I add it to Nginx Proxy Manager, it doesn't work and I get this error:
502 Bad Gateway openresty
Here's my configuration:
Nginx Proxy Manager logs:
upstream sent "Content-Length" and "Transfer-Encoding" headers at the same time while reading response header from upstream
Can someone please help me?
Can confirm that the ER605 sends an invalid response and nginx will not handle it. See: https://my.f5.com/manage/s/article/K000140379 https://docs.nginx.com/nginx/releases/#nginxplusrelease-28-r28
I couldn't find a solution for it. This has to be fixed by TP-Link via a firmware update, I guess.
# curl http://192.168.0.1 -v
* Trying 192.168.0.1:80...
* Connected to 192.168.0.1 (192.168.0.1) port 80
* using HTTP/1.x
> GET / HTTP/1.1
> Host: 192.168.0.1
> User-Agent: curl/8.11.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Transfer-Encoding: chunked < -- send before "request complete"
* Request completely sent off
< Keep-Alive: timeout=20
< ETag: "b2d-110-63f2d8f8"
< Last-Modified: Mon, 20 Feb 2023 02:20:40 GMT
< Date: Thu, 01 May 2025 16:48:54 GMT
< Content-Type: text/html
< Content-Length: 272 < -- only Content-Length or Transfer-Encoding should be present
<
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="refresh" content="0; URL=/webpages/login.html" />
</head>
</html>
* Connection #0 to host 192.168.0.1 left intact
Issue is now considered stale. If you want to keep it open, please comment :+1: