-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Couldn't open the code-server, just opening with a black window #290
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
I found the similar situation. In log i find this
In browser there is 404 on request http://host:8443/__webpack_hmr Run on last available docker image |
That error shouldn't matter. What version of chrome are you using @JinGangRed ? |
I've struck this as well. From memory I've always seem the 404 on webpack_hmr, but I've noticed this in the JS console now:
And just realized my comment dupes #275 |
@kylecarbs The version of chrome is Version 70.0.3538.77 |
There is nothing in the Local Storage and session storage. So the #275 issue couldn't fix my issue |
@JinGangRed could you try updating chrome? I'm not certain what API we'd be using that could cause the issue. |
@kylecarbs Thanks for your replay. |
Same happened to me after adding a folder to the workspace. Black screen after that, even if I restart code-server. |
I have the same issue - occurs immediately once I load my usual workspace. This workspace contains three folders - initially with relative paths but it did not work if I changed it to absolute paths either. EDIT: I looked around the ~/.local/shared/code-server folder and removed everything related to workspaces. Then it worked again - but only after deleting cookies. Breaks once I import a workspace. |
Also getting this black screen error; occurs on latest firefox, chrome, brave and safari, whenever I add a folder. Happens using the hosted version (coder.com) - This seems like a pretty critical bug to me as it makes the app completely unusable with no way of opening files at all. Another weird thing: clicking 'open folder' and selecting a directory, gives the error "error: file is a directory".... huh? |
I get this when in an office where the firewall blocks websockets. It's pretty clear from the console that this is the issue in my case as it is retrying and failing to connect to the sockets. I have run separate scripts to demonstrate that the firewall is indeed blocking websockets. That's not something that can be fixed so perhaps a getting started document could list some pre-requisites for the application. |
Same here, code-server is running on Ubuntu 18.04. When i connect from my macbook pro using either safari or chrome it works. On my ipad pro it just shows a black browser window after login. I tried safari, chrome and firefox neither works. I just downloaded the latest version and tested, same thing. If you need any kind of help, documentation of the problem let me know i will do my best to get it for you. |
There was an old bug that would show that error if you set a custom workspace. Try going into localstorage and delete the workspace property. |
@nol166 yes. I have delete the workspace property once,and it works. However, there were nothing in the localstorage now. |
Also experiencing this issue from iPad Pro |
@AALMA Apparently only the new iPad OS works well with code-server. The current iOS either doesn't load code-server or lots of keyboard commands don't work correctly. |
Experiencing this myself on iPadOS Beta 2 in Safari. Just a blank/black screen. I don't run code-server with auth, but I do use an ngrok.io tunnel to provide my basic auth and https. Don't have any issues using ngrok on the same server for hosting other sites so don't think it's related to that? I am hosting on AWS lightsail for what it's worth. I have tried enabling/disabling various Safari for iPadOS features/experimental features thinking that code-server may rely on certain browser functionality but no dice, even with everything enabled (there's a list of like 20 in settings) |
I am seeing the same black screen on iPadOS Beta 2 on iPad pro 1 1 in Chome/Safari. I have auth w/no tunnel. |
Same issue. Btw I used to deploy on DO using docker and works perfectly |
If you're using iPad and seeing a black screen with HTTP authentication through a reverse proxy (not code-server's built-in login screen), this is caused by a webkit bug. The browser won't send the HTTP password with the request to connect to the websocket. |
Just updated to iPadOS beta 3 - same issue |
The OP was using Chrome, so I won't close this issue. If you're having issues with iPad/Safari, please discuss or 👍 in #89. |
For iPad I fixed it with a cert from lets-encrypt. |
Would you mind publishing a post on how to do it? |
Which version of iOS or iPadOS are you using? |
Beta 13.0. I think this is the latest version as I installed it 3 days ago. |
I am having the same issue (blank black screen) trying to access it from the iPad Browsers (Safari and Chrome). I was not able to follow the comments along probably. Does this have any fix ? |
Weird. I updated to the most recent build of iPad OS 13.1 and ran into the blank page issue on Safari and other App Store browsers (chrome, Firefox, etc). Linux desktop is a virtual machine inside a Synology NAS. I used the self-signed cert from the quick setup documentation. I got around it by exporting my Let’s Encrypt cert and key from my Synology and slotted in directly to the code-server app (no need to convert formats or anything...pem direct) like another user did. Suddenly it worked. |
Stable non-beta version still has this issue. Could you publish a post describing how you solved it? |
Have the same issue on ipad pro 11". tried both chrome and safari |
Hey all, it seems that this has been outdated for a long time ago, and this seems to only affect v1 so I suggest to use v2. iPad users please upgrade your devices to iPadOS since it has been reported to have better compatibility with apps like code-server. |
I had a similar issue. But the only downside to this is that your connection will not be secure (HTTP). |
Open the code-server in the browser, and it opening with a black window. There is nothing. I find the localStorage also has nothing.
Description
I open the code-server in the browser, and it opening with a black window. There is nothing. I find the localStorage also has nothing. I have changed some browser, such as chrome and IE. It doesn't affect.
The text was updated successfully, but these errors were encountered: