NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.3k stars 2.7k forks source link

Websocket toggle maybe doesn't work for all scenarios? #224

Open Xinil opened 5 years ago

Xinil commented 5 years ago

I'm running in to a problem creating a proxy host for a Unifi Video web server on port 7443. Logging in and navigating the application works fine, but when I attempt to view one of my cameras, I get an error in the console saying WebSocket connection to 'wss://my.domain.com:7446/Gl9ZgM3_FCECDA1F2F06_1?progressive' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

I've enabled websockets for the proxy host, yet the issue persists. I suspect there's an issue with the particular port unifi is attempting to access. I've tried making edits to the Custom Nginx Configuration under Advanced, but have not had much luck discovering the configuration.

Any advice would be appreciated. Thanks for making a great tool!

Thijmen commented 4 years ago

@Xinil Did you make any progress on this one?

Xinil commented 4 years ago

@Xinil Did you make any progress on this one?

I unfortunately have not. A few suggestions from other people, including hijacking the 7446 request mid-flight (yikes), but nothing that seems like a good solution.

damianog commented 4 years ago

Have a look at #340 and try if it solve this issue too?

Xinil commented 4 years ago

Have a look at #340 and try if it solve this issue too?

Thanks for the ping @damianog ! I gave #340 a shot and it didn't have any effect. I modified the template, and my specific host conf now looks like:

#proxy_set_header Connection "upgrade";
proxy_set_header Connection $http_connection;

Same error.

matt4545 commented 4 years ago

I too would be intereted in a potential solution for this as I am currently facing the exact situation, I am open for any and all suggestions! lol.

github-actions[bot] commented 7 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: