Skip to content
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

WebSocket connection to 'ws://127.0.0.1:8082/socket.io/ #46

Open
alessngt opened this issue Jan 20, 2024 · 2 comments
Open

WebSocket connection to 'ws://127.0.0.1:8082/socket.io/ #46

alessngt opened this issue Jan 20, 2024 · 2 comments
Labels
support Support user's cases(community driven)

Comments

@alessngt
Copy link

I am setting up Excalidraw with Docker so that it can be accessed externally through an Nginx Proxy Manager. Most of it works fine, but there must be some configuration file not included in the Docker Compose that redirects the client to the localhost 127.0.0.1

My Docker Compose:
image

My Nginx Proxy Manager configuration:
image
image
image

My webtool kit for the one who creates the room:
image

My webtool kit for the one who joins the room:
image

The main issue, as I see it, which I believe is causing the failure, is that when the client tries to join the room, it attempts to connect to the localhost 127.0.0.1 for some reason

@alessngt
Copy link
Author

Solved, seems a cache problem. Still, I have another problem: with the same configurations seen, every time I create a room, the following error occurs:

image

@alswl
Copy link
Owner

alswl commented Feb 15, 2024

@MoonlitRabbit 404 is by design. 405 maybe related to nignx conf, you should search Google for how to proxy web socket server. Notice the Headers for web socket required.

@alswl alswl added the support Support user's cases(community driven) label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Support user's cases(community driven)
Projects
None yet
Development

No branches or pull requests

2 participants