Repository navigation
White Screen After login #7212
Copy link
Copy link
Closed as not planned
Labels
bugSomething isn't workingSomething isn't workingtriageThis issue needs to be triaged by a maintainerThis issue needs to be triaged by a maintainer
Description
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
- Login using the password
2.Blank Screen
Expected
Code Server Home Screen
Actual
Blank screen after login page.
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
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageThis issue needs to be triaged by a maintainerThis issue needs to be triaged by a maintainer


Activity
l3arcf commentedon 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 commentedon Feb 19, 2025
remote os debian,is same problem
fnandomaia commentedon Feb 19, 2025
Same error here after update my 3 VPS.
All of them is not working now.
Same blank screen.
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 commentedon Feb 19, 2025
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 commentedon Feb 19, 2025
I also have same issue
vxplore commentedon Feb 19, 2025
Solved
with
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.96.2
vxplore commentedon Feb 19, 2025
It seems that the latest have some issue
zigarot commentedon 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.
Have resolved currently via editing my docker compose in the image section:
keepcraft-go commentedon 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 commentedon Feb 20, 2025
Please be aware that the image of this repository is
codercom/code-serverand notlinuxserver/code-server.Please open issues regarding
linuxserver/code-serverat https://github.com/linuxserver/docker-code-server/issues.benz0li commentedon Feb 20, 2025
Cross reference:
benz0li commentedon Feb 20, 2025
Originally posted by @vcantrell in #7211
code-asher commentedon 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 commentedon 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 commentedon Feb 20, 2025
@code-asher Great find!
Thanks for the clarification.
suse-coder commentedon Mar 3, 2025
I have the same issue
code-asher commentedon Mar 6, 2025
Should be fixed once the update with 1.98.0 comes out, hopefully today.