Skip to content
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

Message not received if close event occurs in client. #710

Closed
mindspank opened this issue Apr 15, 2016 · 2 comments
Closed

Message not received if close event occurs in client. #710

mindspank opened this issue Apr 15, 2016 · 2 comments

Comments

@mindspank
Copy link

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.

@lpinca
Copy link
Member

lpinca commented Jan 27, 2017

Can you try with ws@beta and see if the issue persists?
The bug description is a bit vague but maybe this is a duplicate of #799.

Thanks.

@lpinca
Copy link
Member

lpinca commented Mar 6, 2017

Closing due to inactivity.

@lpinca lpinca closed this as completed Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants