Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Blank page when using Zerotier #2203

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

Closed
zz5840 opened this issue Oct 14, 2020 · 8 comments
Closed

Blank page when using Zerotier #2203

zz5840 opened this issue Oct 14, 2020 · 8 comments
Labels
waiting-for-info Waiting for more information from submitter

Comments

@zz5840
Copy link

zz5840 commented Oct 14, 2020

  • Web Browser: Chrome
  • Local OS: Windows
  • Remote OS: Ubuntu 20.04.1 LTS
  • Remote Architecture: x86_64
  • code-server --version: 3.6.0 a4a03c1

I use Zerotier to build a local network, and changed the bind-addr config to local IP
image

The auth page is perfect
image

But the editor is a blank page
image

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

And the console also has no error
image

So strange, how can I solve it?

@code-asher
Copy link
Member

code-asher commented Oct 14, 2020 via email

@zz5840
Copy link
Author

zz5840 commented Oct 15, 2020

@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/
image

@code-asher
Copy link
Member

code-asher commented Oct 15, 2020 via email

@zz5840
Copy link
Author

zz5840 commented Oct 17, 2020

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?

The workbench.web.api.js showed 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.

@reesericci
Copy link

@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.

@zz5840
Copy link
Author

zz5840 commented Nov 3, 2020

@reesericci Did you bind to 0.0.0.0 and visit via the local ip of zerotire?

@reesericci
Copy link

Yea

@zz5840
Copy link
Author

zz5840 commented Nov 4, 2020

Yea

I will try it later, thanks

@code-asher code-asher added the waiting-for-info Waiting for more information from submitter label Dec 2, 2020
@nhooyr nhooyr closed this as completed Jan 20, 2021
@coder coder locked and limited conversation to collaborators Jan 20, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
waiting-for-info Waiting for more information from submitter
Projects
None yet
Development

No branches or pull requests

4 participants