Socket.IO client on a Node.js app doesn't connect to the Socket.IO server running on Spring Boot using netty-socketio #4791
Unanswered
NoelNicholas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm facing an issue with setting up Socket.IO for a project. I'm using Spring Boot with the netty-socketio (V2.0.3) dependency for my socket server. It supports 1.x - 4.x versions of Socket.IO clients, as per the release documentation. The server is running, and I've tested it using Postman. I'm able to connect and listen to events and receive acknowledgements etc.
For the client, I'm using Node.js with the socket.io-client(V4.7.2) dependency. I can't for the life for me figure out why it doesn't connect to the server though. Here's my code:
Here's my console output with DEBUG enabled:
What am I doing wrong? Couldn't find any solution after hours of searching, any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions