-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Server socket id doesn't match client's socket id #2405
Comments
That was changed on 1.4.0. Maybe we should change You can use |
Thanks, but I think this behavior breaks functionality and if you installed One more thing, if now |
I also have this issue. The server side pre-pends the default namespace but the client does not. However, a fix for this would be good.... I also noticed a few other issues with this upgrade..
After this upgrade sio.sockets.adapter.rooms["test"] now returns a Room object that contains an array called sockets that contains the socket ids instead, requiring a change to the code as follows
Any chance these issues will be resolved soon ??? Steve |
@smcardle Socket.io-redis works for me but I had to update to 1.0.0 check your version. |
Although this changes are improvements they shouldn't be considered minor as they break a lot of functionality. Please consider that the node environment, specially npm, always relies on semver and this changes doesn't respect that at all. |
Hey guys, how is this going to be fixed? @rauchg any thoughts? |
OK so I finally got back to testing a few things and I am pretty pissed that the changes in this version are HUGE and should have really been released as version 2.x.x As @LordMajestros pointed out socket.io-redis 1.0.0 does work with this version so that at least is something. The rest of the changes including changes to the old and new meanings or broadcast as well the introduction of the Room object verses the sockets hash for a room caused me many many issues until all affected functionality was eventually converted Steve |
@ilanbiala We are going to change |
That issue was closed automatically. Please check if your issue is fixed with the latest release, and reopen if needed (with a fiddle reproducing the issue if possible). |
For some reason, after upgrading to 1.4.4, the sockets on the server return the
socket.id
property as/#BA0yIQhFb5R55OnvAAAC
but in the client asBA0yIQhFb5R55OnvAAAC
.This inconsistency has broken one of my apps. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: