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

How To Catch WebSocket Connection Error #123

Open
matthew-valenti opened this issue Jun 7, 2018 · 0 comments
Open

How To Catch WebSocket Connection Error #123

matthew-valenti opened this issue Jun 7, 2018 · 0 comments

Comments

@matthew-valenti
Copy link

Is it possible to trap this type of connection error (which is output to the Chrome console):
WebSocket connection to 'ws://web-api-dev.azurewebsites.net/signalr/reconnect?transport=webSockets&groupsToken=...&connectionData=[{"name":"workeravailableshifthub"}]&tid=4' failed: WebSocket is closed before the connection is established.

I currently catch and log every error but can't find a way to catch this one.

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

1 participant