atomic-data-browser icon indicating copy to clipboard operation
atomic-data-browser copied to clipboard

WebSocket connecting status not handled correctly: `Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.`

Open joepio opened this issue 3 years ago • 0 comments

I keep getting these errors, also in production. This is because the authenticate method in websockets.ts can fire an event before a connection is open.

We should probably check if the connection is open, and if it is not, wait for the connection to be ready.

joepio avatar Oct 28 '22 16:10 joepio