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

1006 Websockets error #7167

Open
2 tasks done
connorb923 opened this issue Jan 15, 2025 · 3 comments
Open
2 tasks done

1006 Websockets error #7167

connorb923 opened this issue Jan 15, 2025 · 3 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@connorb923
Copy link

connorb923 commented Jan 15, 2025

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: chromeOS
  • Remote OS: Ubuntu/Docker
  • Remote Architecture: amd64
  • code-server --version: linuxserver/code-server latest

Steps to Reproduce

  1. Follow https://docs.linuxserver.io/images/docker-code-server/ instructions for docker
  2. Setup cloud flare tunnel
  3. Use subdomain (ex: codeserver.example.net)
  4. Make sure websockets is enabled
  5. open codeserver.example.net on school Chromebook.
  6. log in
  7. Get Error 1006
  8. look at gh issues, try fixed
    1. Delete cookies, turn laptop off then on
  9. works
  10. 10-20 mins later it loses connection,

Expected

The app should load as expected

Actual

1006 websocket error!

Logs

I cannot gain access to these ATM, I will add them to the comments ASAP

Screenshot/Video

Image

Does this bug reproduce in native VS Code?

This cannot be tested in native VS Code

Does this bug reproduce in GitHub Codespaces?

This cannot be tested in GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

@connorb923 connorb923 added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Jan 15, 2025
@connorb923
Copy link
Author

@code-asher
Copy link
Member

1006 usually indicates a configuration issue with the proxy.

But, sounds like you got past the 1006, and now the issue is that it disconnects? This is likely a network issue, but it should just reconnect itself.

@manishavalecha
Copy link

Is there any fix or workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants