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

[Safari] Network disconnection causes web socket failure #239

Open
mwalklandIDBS opened this issue Nov 7, 2018 · 1 comment
Open

[Safari] Network disconnection causes web socket failure #239

mwalklandIDBS opened this issue Nov 7, 2018 · 1 comment

Comments

@mwalklandIDBS
Copy link

mwalklandIDBS commented Nov 7, 2018

On Safari 11, a network disconnection causes the websocket to instantly close and never reconnect.

A _websocket.onclose event is fired as soon as the network is lost which closes the connection. This event does not seem to fire on all other browsers so a network disconnect is only closing our websocket on Safari.

In the console, the first error message is always WebSocket network error: The operation couldn't be completed. Socket is not connected.

We are using atmosphere js 2.3.6

@jfarcand
Copy link
Member

jfarcand commented Nov 8, 2018

@mwalklandIDBS Thanks for the report. I've no cycle to test this so if you find a solution do me a favor and do a pull request :-)

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