Repository navigation
Blank page when using Zerotier #2203
Description
Activity
- Usually the blank page is because the web sockets aren't connecting. Can you run code-server with `--log trace` and see if anything shows up in the browser console or the terminal?
@code-asher I found if i wait enough long time, there are some error indeed, here are the terminal output: https://paste.ubuntu.com/p/Cd8ktXWP79/
And borwser console are here: https://paste.ubuntu.com/p/RFjqs6WjfY/

- Interesting, the 404'd files are ones that should only load during development. Have you ever ran code-server from the git repository before? Or maybe it's falling back to them because the main workbench file has failed to load. Either way, I think they're a symptom rather than the cause. I think the connection reset seems likely to be the main problem and I'm not really sure how to go about debugging that but it seems likely to be network-related. Maybe it's has something to do with the size of the file. Are you able to load `workbench.web.api.js` if you browse to it directly?
Interesting, the 404'd files are ones that should only load during development. Have you ever ran code-server from the git repository before? Or maybe it's falling back to them because the main workbench file has failed to load. Either way, I think they're a symptom rather than the cause. I think the connection reset seems likely to be the main problem and I'm not really sure how to go about debugging that but it seems likely to be network-related. Maybe it's has something to do with the size of the file. Are you able to load
workbench.web.api.jsif you browse to it directly?The
workbench.web.api.jsshowed unfinished in console, and it also showed a part when browsing directly. I guess it maybe caused by the bandwidth of 1Mbps, but if I bind the IP to public network, it will be normal.@zz5840 I find it works for me when I bind to 0.0.0.0, but I don't know if that is practical in your setup.
@reesericci Did you bind to 0.0.0.0 and visit via the local ip of zerotire?
Yea
Yea
I will try it later, thanks
Reacted by Reese is on Codeberg- addedwaiting-for-infoWaiting for more information from submitterWaiting for more information from submitter
on Dec 2, 2020 - locked and limited conversation to collaborators
on Jan 20, 2021
code-server --version: 3.6.0 a4a03c1I use Zerotier to build a local network, and changed the bind-addr config to local IP

The auth page is perfect

But the editor is a blank page

The loading spinner wouldn't disappear, but the network tab in develop tools showed finished


And the console also has no error

So strange, how can I solve it?