Can't connect my socket client with my socket server #4898
-
Hello, I have an Angular app with Socket.io and a Node server also using Socket.io. Everything works perfectly on my local environment, but when I deploy it, the connection fails. I'm attempting to deploy my server at 'www.midomain.com/proyect-syncro/socket.io'. However, one of the requests is returning the following error: { Any guidance or assistance in resolving this issue would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
darrachequesne
Jan 8, 2024
Replies: 1 comment
-
For future readers: it seems the issue was due to a wrong path/namespace configuration. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
darrachequesne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For future readers: it seems the issue was due to a wrong path/namespace configuration.
Reference: https://socket.io/docs/v4/client-options/#path