palavatv / signaltower

Signaling server for WebRTC video-/audio conferencing using the palava protocol
https://palava.tv
GNU General Public License v3.0
39 stars 7 forks source link

Random connection error on first connection try #11

Open janlelis opened 4 years ago

janlelis commented 4 years ago

From time to time, instead of connecting successfully, I get the following error message:

WebSocket connection to '(signal tower address)' failed: WebSocket is closed before the connection is established.

Notes:

Unfortunately, I cannot reproduce this issue, but I'll add more info if I can learn more about it

farao commented 4 years ago

I see these on the server side as: "websocket error: closed". I improved the logging so that next time this happens also the request gets logged but this is the only additional information that I can print. I don't know if this is the server side "hangig up" for these occurences? I also can't reproduce it.

farao commented 4 years ago

I opened an issue with cowboy (the websocket library): https://github.com/ninenines/cowboy/issues/1451

farao commented 3 years ago

Does this still happen?