[GH-ISSUE #224] Websocket toggle maybe doesn't work for all scenarios? #197

Closed
opened 2026-02-26 06:31:23 +03:00 by kerem · 7 comments
Owner

Originally created by @Xinil on GitHub (Oct 31, 2019).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/224

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!

Originally created by @Xinil on GitHub (Oct 31, 2019). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/224 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!
kerem 2026-02-26 06:31:23 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@Thijmen commented on GitHub (Jan 22, 2020):

@Xinil Did you make any progress on this one?

<!-- gh-comment-id:577274034 --> @Thijmen commented on GitHub (Jan 22, 2020): @Xinil Did you make any progress on this one?
Author
Owner

@Xinil commented on GitHub (Jan 22, 2020):

@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.

<!-- gh-comment-id:577383113 --> @Xinil commented on GitHub (Jan 22, 2020): > @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.
Author
Owner

@damianog commented on GitHub (Mar 27, 2020):

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

<!-- gh-comment-id:604897203 --> @damianog commented on GitHub (Mar 27, 2020): Have a look at #340 and try if it solve this issue too?
Author
Owner

@Xinil commented on GitHub (Mar 28, 2020):

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.

<!-- gh-comment-id:605395956 --> @Xinil commented on GitHub (Mar 28, 2020): > 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.
Author
Owner

@matt4545 commented on GitHub (Mar 31, 2020):

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.

<!-- gh-comment-id:606587784 --> @matt4545 commented on GitHub (Mar 31, 2020): 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.
Author
Owner

@github-actions[bot] commented on GitHub (Apr 1, 2024):

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

<!-- gh-comment-id:2029021557 --> @github-actions[bot] commented on GitHub (Apr 1, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (May 11, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2869348994 --> @github-actions[bot] commented on GitHub (May 11, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#197
No description provided.