White Screen After Login on ChromeOs But Works on Windows
Is there an existing issue for this?
- [X] I have searched the existing issues
OS/Web Information
- Web Browser: Chrome
- Local OS: ChromeOs
- Remote OS: Ubuntu 24
- Remote Architecture: amd64
code-server --version: 1.93.1 3542bd157b0ccc8bf732acdb03d4d69d85f48ea9 x64
Steps to Reproduce
- Running vs1.pyhub.wiki on ChromeOs Gives Blank Screen after login but works well when accessing from Windows
Expected
Dashboard of Code-Server
Actual
Blank White Screen
Logs
No response
Screenshot/Video
No response
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?
- [X] I am using a secure context.
Notes
I have other deployments of Code-Server too of V 1.89.1 which didnt show this blank screen and another 1.92.1 which showed blank screen/
Its Deployed On AWS EC2 with http and https enabled , proxied using Nginx and certbot for ssl
Is it possible to open the browser console and paste the logs from there?
It's a library chromebook so i don't always have access to it , but I'll drop the logs when i do go there.
If anyone wants to check it out the password for vs1.pyhub.wiki is gittest i have another deployment which has the nginx settings without the servername and _ instead its : http://44.194.214.195 passwd is gittest if anyone wants to test these and find the problem it would be great.
@code-asher Error From Console : notebookWebviewPreloads.js:7 Uncaught SyntaxError: Unexpected token '{' workbench.js:3 Uncaught SyntaxError: Unexpected token '{'
No any Errors on the Network requests evth else loads fine, works smooth on android , windows but having this issue in chromeOs but i have another installation of code-server on an arm64 cpu version V 1.89.1 , loading that works well.
Thank you! Usually these types of errors means the browser is out of date and VS Code is using some newer syntax that the browser does not understand. What version of Chrome is it using?
Although, it can also mean that the resource failed to load and it is loading something other than JavaScript. Might be worth it to check notebookWebviewPreloads.js in the browser console and see what the actual response for it is.
@code-asher i think It uses Chrome 93 Its an Old Chromebook from 2016 , Acer Chromebook 11 , Any way to get it to work ? because my another deployment of Code-Server V 1.89.1 works smoothly
Sorry for the delayed response. Unfortunately, VS Code targets newer browsers so it is largely out of our control. We did try to target earlier browsers, but there was a bug in the transpiler. Maybe in the future it will be possible to try forcing an older version again.