Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Xinil opened this issue Oct 31, 2019 · 7 comments
Closed

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

Xinil opened this issue Oct 31, 2019 · 7 comments
Labels

Comments

@Xinil
Copy link

Xinil commented Oct 31, 2019

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
Copy link

Thijmen commented Jan 22, 2020

@Xinil Did you make any progress on this one?

@Xinil
Copy link
Author

Xinil commented 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.

@damianog
Copy link
Contributor

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

@Xinil
Copy link
Author

Xinil commented 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.

@matt4545
Copy link

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.

Copy link

github-actions bot commented Apr 1, 2024

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

@github-actions github-actions bot added the stale label Apr 1, 2024
Copy link

Issue was closed due to inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants