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

[Bug]: WebSocket connection to 'wss://...' failed: WebSocket is closed before the connection is established. #3711

Open
1 task done
Nagellan opened this issue May 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Nagellan
Copy link

Nagellan commented May 7, 2024

What happened?

The blank page happens very often in case of shared projects.

Screenshot 2024-05-07 at 13 08 56

Nothing changes when I change browser to firefox or anything else.

Seems like it happens randomly: I had case when one person and I could use the page while the other person had blank page. Seems like websocket servers don't work as expected, and whether it should be fixed or at least it might be useful to handle this case and show some information on a page instead of blank page.

How can we reproduce the bug?

  1. Create new tldraw project
  2. Create share link (readonly or not, doesn't matter) and give it to someone
  3. After some time it might happen that you or person you shared link to will see blank page

expected: shared project opens stably and when some problem rarely happens, human readable error message is shown on a page
actually: shared project cannot be opened for some periods of time, and the blank page is shown

What browsers are you seeing the problem on?

Chrome, Firefox, Safari (any)

Contact Details

ireknazmievirek@gmail.com

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Nagellan Nagellan added the bug Something isn't working label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant