-
Notifications
You must be signed in to change notification settings - Fork 174
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
Error WebSocket connection 3000 #7
Comments
I am sorry if this will not be useful, and I will waste your time, but I am just a stranger and wanted to add my 0.02 cents. The issue is that the WebSocket connection is attempting to use port 3000 within the browser, even though you've mapped the container's port 3000 to port 8042 on your host and are using Nginx Proxy Manager to route traffic. The browser is unaware of this port mapping and Nginx configuration. Here's a breakdown of the problem and the solution: Problem:
Solution: The solution involves making the WebSocket URL (including the port) configurable and then properly configuring Nginx Proxy Manager to forward WebSocket traffic.
Explanation:
Steps:
|
Thanks for the help! |
Description of the bug:
I'm using the app inside a docker container with the port setting 8042:3000, since I'm using port 3000. I also use Ngnx Proxy Manager and access the app from bot.mydomain.com.
In the web console I get the following error:
WebSocketClient.js:13 WebSocket connection to 'wss://bot.mydomain.com:3000/ws' failed:
WebSocketClient @ WebSocketClient.js:13
I can't find where to change the port settings.
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: