Open yarmat opened 3 years ago
I have the same problem.
Is this issue has been solve? Found the same problem when close the connection and then connect again. First time we got the socket.id but after that it always returns null. socket_io_client: ^1.0.1 "socket.io": "2.2.0",
Interesting to see this problem is still not resolved. I have version 1.0.1. This seems to be a major bug.
@yarmat , @BramDC3 , @mildmindmine : Did you guys find a workaround? How did you manage to solve it?
@jumperchen still got the issue from 1.0.2. After I reconnect success, the socket.id is null
@yarmat , @BramDC3 , @mildmindmine : Did you guys find a workaround? How did you manage to solve it?
how did you solve this issue
Hey I also encountered this problem.
I upgraded the server to 4.x version of socket.io, and changed the client version to 2.x, the problem is sovled.
When I trying reconnect the server -> socker.dispose() -> socket.connect() -> socket.id returns null