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
I'm connecting to a websocket server, if for some reason authentication is not valid the server will send a single message stating where to go authenticate and then close the socket.
My issue is that it seems the close event in ws is firing before that message is delivered to the message event listener so I'm missing the message.
In Chromes WS implementation, the frame arrives correctly and then the socket is closed.
In WS client implementation the socket closes immediately and the message event handler is never called.
The text was updated successfully, but these errors were encountered:
I'm connecting to a websocket server, if for some reason authentication is not valid the server will send a single message stating where to go authenticate and then close the socket.
My issue is that it seems the close event in ws is firing before that message is delivered to the message event listener so I'm missing the message.
In Chromes WS implementation, the frame arrives correctly and then the socket is closed.
In WS client implementation the socket closes immediately and the message event handler is never called.
The text was updated successfully, but these errors were encountered: