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

Random connection error on first connection try #11

Open
janlelis opened this issue May 5, 2020 · 3 comments
Open

Random connection error on first connection try #11

janlelis opened this issue May 5, 2020 · 3 comments

Comments

@janlelis
Copy link
Member

janlelis commented May 5, 2020

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:

  • It always works on second try (of joining the same room).
  • The internet connection is stable

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

@farao
Copy link
Member

farao commented May 15, 2020

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
Copy link
Member

farao commented May 16, 2020

I opened an issue with cowboy (the websocket library): ninenines/cowboy#1451

@farao
Copy link
Member

farao commented Nov 22, 2020

Does this still happen?

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

2 participants