Server socket id doesn't match client's socket id
See original GitHub issueFor some reason, after upgrading to 1.4.4, the sockets on the server return the socket.id
property as /#BA0yIQhFb5R55OnvAAAC
but in the client as BA0yIQhFb5R55OnvAAAC
.
This inconsistency has broken one of my apps. Am I doing something wrong?
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Socket io not giving the same id in client and in server
The problem is that the id are not the same (you can also see I tried to check the socket.client.id but it doesn't...
Read more >Server API - Socket.IO
server.close([callback]) Closes the Socket.IO server and disconnect all clients. The callback argument is optional and will be called when all ...
Read more >socket.io emit to specific socket ids : r/node - Reddit
I'm creating a social network site, I want to emit only to all of my friends when I login. user: { friends: User[]...
Read more >Create a Secure Chat Application with Socket.IO and React
Create a Chat Server with Express and Socket. ... In this code, {yourClientID} is the client ID that you obtained from the Okta...
Read more >SCServerSocket (server, worker) - SocketCluster
The server-side SCSocket object allows you to interact with a matching client-side socket in real-time. It also allows you to subscribe and publish...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ty @nkzawa @stgogm
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).