ng2-signalr icon indicating copy to clipboard operation
ng2-signalr copied to clipboard

How To Catch WebSocket Connection Error

Open matthew-valenti opened this issue 6 years ago • 0 comments

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.

matthew-valenti avatar Jun 07 '18 00:06 matthew-valenti