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

White Screen After login #7212

Closed
1 of 2 tasks
hammadsalim opened this issue Feb 19, 2025 · 15 comments
Closed
1 of 2 tasks

White Screen After login #7212

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

Comments

@hammadsalim
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: Windows 11 Pro
  • Remote OS: Linux (OpenMediaVault/Portainer)
  • Remote Architecture: (x86)
  • code-server --version: latest image pulled today - 19.02.2025

Steps to Reproduce

  1. Login using the password
    2.Blank Screen

Expected

Code Server Home Screen

Actual

Blank screen after login page.

Image

Logs

───────────────────────────────────────

User UID:    1000

User GID:    1000

───────────────────────────────────────

Linuxserver.io version: 4.97.2-ls255

Build-date: 2025-02-18T19:43:23+00:00

───────────────────────────────────────

    

setting up sudo access

setting sudo password using SUDO_PASSWORD env var

New password: Retype new password: passwd: password updated successfully

[custom-init] No custom files found, skipping...

[2025-02-19T12:42:18.149Z] info  code-server 4.97.2 34b8d2ed69811c3315a465f01492e9448c9254aa

[2025-02-19T12:42:18.150Z] info  Using user-data-dir /config/data

[2025-02-19T12:42:18.162Z] info  Using config file /config/.config/code-server/config.yaml

[2025-02-19T12:42:18.162Z] info  HTTP server listening on http://0.0.0.0:8443/

[2025-02-19T12:42:18.162Z] info    - Authentication is enabled

[2025-02-19T12:42:18.162Z] info      - Using password from $PASSWORD

[2025-02-19T12:42:18.163Z] info    - Not serving HTTPS

[2025-02-19T12:42:18.163Z] info    - Proxying the following domain:

[2025-02-19T12:42:18.163Z] info      - {{port}}.code-server.my.domain

[2025-02-19T12:42:18.163Z] info  Using proxy URI in PORTS tab: //{{port}}.code-server.my.domain

[2025-02-19T12:42:18.163Z] info  Session server listening on /config/data/code-server-ipc.sock

Connection to 127.0.0.1 8443 port [tcp/*] succeeded!

[ls.io-init] done.

[12:42:25] 

[12:42:25] Extension host agent started.

Screenshot/Video

Image

Does this bug reproduce in native VS Code?

I did not test native VS Code

Does this bug reproduce in GitHub Codespaces?

I did not test GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

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

l3arcf commented Feb 19, 2025

My remote OS is clear linux, but the same experience. Rolling back was a good initial workaround for me. I am using "auth: password" in my config, and wonder if that has anything to do with the issue.

@geometa
Copy link

geometa commented Feb 19, 2025

remote os debian,is same problem

@fnandomaia
Copy link

fnandomaia commented Feb 19, 2025

Same error here after update my 3 VPS.
All of them is not working now.
Same blank screen.

  • Ubuntu 22.04.5 LTS
  • Ubuntu 22.04.5 LTS
  • Ubuntu 24.04.2 LTS

Even trying to completely remove code-server and installing a previous version, it is not working properly.
Solution for now is back to version 4.96.4.
Command:
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.96.4

@cdeschenes
Copy link

Host system Ubuntu with docker install of Code-Server. Got the white screen after the latest update (Linuxserver.io version: 4.97.2-ls255). I disabled all plugins and get the same white screen.

@vxplore
Copy link

vxplore commented Feb 19, 2025

I also have same issue

@vxplore
Copy link

vxplore commented Feb 19, 2025

Solved
with
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.96.2

@vxplore
Copy link

vxplore commented Feb 19, 2025

It seems that the latest have some issue

@zigarot
Copy link

zigarot commented Feb 19, 2025

for what it's worth, I'm not using authentication on my local network, also the same issue (white screen), running in docker, watchtower updated it this morning and suddenly no go.

───────────────────────────────────────
Linuxserver.io version: 4.97.2-ls255
Build-date: 2025-02-18T19:43:23+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
starting with no password
[2025-02-19T23:43:40.345Z] info  code-server 4.97.2 34b8d2ed69811c3315a465f01492e9448c9254aa
[2025-02-19T23:43:40.361Z] info  Using user-data-dir /config/data
[2025-02-19T23:43:40.378Z] info  Using config file /config/.config/code-server/config.yaml
[2025-02-19T23:43:40.378Z] info  HTTP server listening on http://0.0.0.0:8443/
[2025-02-19T23:43:40.378Z] info    - Authentication is disabled
[2025-02-19T23:43:40.378Z] info    - Not serving HTTPS
[2025-02-19T23:43:40.378Z] info  Session server listening on /config/data/code-server-ipc.sock
Connection to 127.0.0.1 8443 port [tcp/*] succeeded!
[ls.io-init] done.
[09:43:42] 
[09:43:42] Extension host agent started.

Have resolved currently via editing my docker compose in the image section:

services:
  code-server:
    image: lscr.io/linuxserver/code-server:4.96.4
    container_name: code-server

@keepcraft-go
Copy link

keepcraft-go commented Feb 20, 2025

As mentioned above, if you specify the version and install it, you can use it normally without any issues.
There seems to be an issue with the recently released version.

VERSION=4.96.4
curl -fsSL -o code-server.deb "https://github.com/coder/code-server/releases/download/v4.96.4/code-server_4.96.4_amd64.deb"
sudo dpkg -i code-server.deb

@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

Ah interesting. So to summarize, the problem is caused by "cannot read properties of undefined (reading 'bind')" in uuid.ts, which is calling crypto.randomUUID.bind(crypto).

For web crypto functions to be undefined, code-server would have to be loaded in an insecure context. It looks like in 1.97.0 the VS Code folks changed this function to always use web crypto instead of conditionally, so now it errors: microsoft/vscode@8ad5ac5

I am not sure if they would consider this a bug (my guess is they would say an insecure context is not supported since there are other features they use that also require a secure context like service workers), but I will close this issue for now since it is from VS Code itself.

@code-asher code-asher closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2025
@code-asher
Copy link
Member

code-asher commented Feb 20, 2025

Actually, turns out there is an upstream issue we can follow, looks like it is considered a regression and will be fixed? microsoft/vscode#240334

@benz0li
Copy link
Contributor

benz0li commented Feb 20, 2025

Actually, turns out there is an upstream issue we can follow, looks like it is considered a regression and will be fixed? microsoft/vscode#240334

@code-asher Great find!

Thanks for the clarification.

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

10 participants