Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase - WebSocket is closed before the connection is established.

Tags:

firebase

Just starting out with Firebase (great concept BTW) and I notice in the Chrome console it reports "WebSocket is closed before the connection is established"

It still works but wondered why that might be happening - is it anything to be concerned about?

Interestingly it does state there is a successful websocket connection.

Thanks

like image 655
markbarton Avatar asked Sep 14 '12 09:09

markbarton


1 Answers

This is a known issue. The Firebase client attempts to establish a real-time connection to the Firebase servers using multiple methods. If one of those methods succeeds before the Websocket does, we cancel the Websocket and you see that warning. You can safely ignore the error.

like image 150
Andrew Lee Avatar answered Sep 28 '22 05:09

Andrew Lee