-
Notifications
You must be signed in to change notification settings - Fork 844
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
Cant connect to socket with namespace in version 13.1.0 #923
Comments
What server version are you using? |
On the backend we have this: https://github.com/playframework/play-socket.io We made some tests and was trying to connect to our backend using official JS client (https://github.com/socketio/socket.io-client) and it works ok with this server. The command, received on the backend from this JS client was "0/testRoom1," - with the comma after namespace. |
Hm, I guess you're right. I'll update the namespace joining code. Although the JS server seems to work without this trailing ,. |
@vsergeev1988 If you could see if the latest development branch fixes it, that'd be helpful. |
@nuclearace I have updated to the latest development branch and it works ok now on connect to namespace, but I still have the same error on disconnect. |
Derp, should be fixed now. |
@nuclearace works great now, thank you! |
Hi there! I am trying to connect the websocket on the backend using the latest 13.1.0. Here is my source code:
Unfortunately, I receive an error from the backend:
Maybe "," is missed in -[SocketManager connectSocket:] where connection command is creating, just like "," is adding after namespace in [SocketPacket createPacketString] method?
Same for -[SocketManager disconnectSocket:].
Or maybe I have an error in my code?
Thank you!
The text was updated successfully, but these errors were encountered: