-
Notifications
You must be signed in to change notification settings - Fork 5.9k
White screen of death #1223
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
Comments
Same here, the browser loads code-server but getting 300-400 errors of CSP as mentioned above |
Can't really replicate this, even running it in remote does not yield the expected results. Seems a really weird edge case. |
@code-asher can you investigate for a bit? I don't think I can replicate it in my end. |
I'm not currently able to replicate but I've seen this happen before
when code-server fails to start VS Code. Could someone with the issue
check code-server's stdout and see if it says anything?
|
Please feel free to reopen if this is still an issue. If it is, make sure to check code-server's output as @code-asher mentioned. |
This started happening to me out of the blue. No output from code-server. The strange bit is that it works fine if I open a Private (incognito) window on Firefox, but if I open a regular window, it doesn't work and shows me a white screen. Even when I clear all site data, cookies, cache etc, the result is the same, which is VERY weird. What variables remain even after all site data is cleared that would give a different outcome in a normal window and a private window? Here's what shows up on the browser console when this happens. code-server seems to be cursed when used with Firefox. |
Seems like a CSP problem. Any ideas @code-asher ? |
Believe we've fixed this in the restructure branch which should be merged soon but please double check @code-asher #1338 |
I've been able to unreliably reproduce this in both v2 and v3 (seems
highly timing dependent), but in my testing v2 crashes and v3 recovers
after a refresh so it seems partially solved.
|
|
@mikelxc thx ! |
code-server
version: code-server2.1692-vsc1.39.2-linux-x86_64.tar.gzDescription
First of all, I can see that this issue is being already reported a few months back and it is solved as per my findings. However, I still have it. I am just starting code-server on the
8443
port on my vps. Release file I am using iscode-server2.1692-vsc1.39.2-linux-x86_64.tar.gz
Starting on http and I am getting the login page but once I enter the password and go further I will get an indefinite loading screen. I have the following error always on the console:
Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "font-src 'self' blob:".
The text was updated successfully, but these errors were encountered: