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

Accessing code-server docker container via Tailscale = white screen #7214

Closed
2 tasks done
DasKraut37 opened this issue Feb 20, 2025 · 11 comments
Closed
2 tasks done

Accessing code-server docker container via Tailscale = white screen #7214

DasKraut37 opened this issue Feb 20, 2025 · 11 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@DasKraut37
Copy link

DasKraut37 commented Feb 20, 2025

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: macOS
  • Remote OS: Synology NAS [Docker]
  • Remote Architecture: intel
  • code-server --version: 4.97.2

Steps to Reproduce

  1. Connecting to code-server over tailscale = white screen
  2. Connecting to code-server over host-ip:8443 works fine
  3. Connecting to code-server over reverse proxy also works

Expected

To be able to use code-server over a tailscale connection. All other services on this host work through tailscale, just not code-server.

Actual

I get a white screen. No login screen, nothing. Just a white screen.

Image

Logs

In the browser console, I only see one error:

uuid.ts:13 Uncaught TypeError: Cannot read properties of undefined (reading 'bind')
    at uuid.ts:13:61
(anonymous)    @    uuid.ts:13

Screenshot/Video

No response

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

I'm running tailscale in a docker container with network_mode: host. I can connect to any other service on my host via tailscale except for code-server, where I just get a white screen. I found several other people reporting similar problems with this, but every post ends with no solution.

I can connect to code-server using the host ip or through reverse proxy with no issues. But for some reason, I get a white screen when trying to use tailscale to connect, which is how I would prefer to connect to this.

Any help?

@DasKraut37 DasKraut37 added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Feb 20, 2025
@Nik71git
Copy link

Version=4.96.4 doesn't help?

@DasKraut37
Copy link
Author

Version=4.96.4 doesn't help?

Yup! Rolled back to 4.96.4 and now it works. Is this a known bug that is being worked on?

@Nik71git
Copy link

It seems to be...

@benz0li
Copy link
Contributor

benz0li commented Feb 20, 2025

[...] I do see some base path stuff we could likely optimize so I will check that out.

Originally posted by @code-asher in #7199 (comment)

Maybe this is related to the base path changes in https://github.com/coder/code-server/pull/7199/files#diff-aa0960eacc2ec0a027a3e50ce898c5361569abb97e6ac10ca0a87f3fa1c21683

@LiuLinyun
Copy link

I got the same bug, It can be connected, but opened with a white screen, no welcome page and menus.

@benz0li
Copy link
Contributor

benz0li commented Feb 20, 2025

@DasKraut37 Which Docker image are you using?

@DasKraut37
Copy link
Author

@DasKraut37 Which Docker image are you using?

Using the LSIO image.

@benz0li
Copy link
Contributor

benz0li commented Feb 20, 2025

Please be aware that the image of this repository is codercom/code-server and not linuxserver/code-server.

Please open issues regarding linuxserver/code-server at https://github.com/linuxserver/docker-code-server/issues.

@benz0li
Copy link
Contributor

benz0li commented Feb 20, 2025

@benz0li
Copy link
Contributor

benz0li commented Feb 20, 2025

[...] apparently insecure connections are now just not supported.

Originally posted by @vcantrell in #7211

@code-asher
Copy link
Member

code-asher commented Feb 20, 2025

Looks like a duplicate of #7212. It also looks like the VS Code team is planning on fixing it.

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

5 participants