You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I leave my site domain and use the browser back button to return socket.io-client fires the "connect" event, but the client socket can't send any events to the server until the connection is disconnected and then reconnects or I refresh the page.
To Reproduce
Please fill the following code example:
Socket.IO server version: 4.5.4
Socket.IO client version: 4.5.4
alexasparks
changed the title
Socket.io-client fires "connect" event but is sometimes misleading
Socket.io-client fires "connect" event but can't send events to server
Dec 16, 2022
Describe the bug
If I leave my site domain and use the browser back button to return socket.io-client fires the "connect" event, but the client socket can't send any events to the server until the connection is disconnected and then reconnects or I refresh the page.
To Reproduce
Please fill the following code example:
Socket.IO server version:
4.5.4
Socket.IO client version:
4.5.4
Link to repl: https://replit.com/@ambil/socket-io-bug-example#index.js
Expected behavior
Since the client is firing off the "connect" event, I'd expect the server to acknowledge client events right away.
Platform:
The text was updated successfully, but these errors were encountered: