Skip to content

Blank page when using Zerotier #2203

Description

@qingfua
  • 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?

Activity

  1. code-asher commented on Oct 14, 2020

    @code-asher
    Member
  2. qingfua commented on Oct 15, 2020

    @qingfua
    Author

    @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

  3. code-asher commented on Oct 15, 2020

    @code-asher
    Member
  4. qingfua commented on Oct 17, 2020

    @qingfua
    Author

    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.

  5. reesericci commented on Nov 1, 2020

    @reesericci

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

  6. qingfua commented on Nov 3, 2020

    @qingfua
    Author

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

  7. reesericci commented on Nov 4, 2020

    @reesericci

    Yea

  8. qingfua commented on Nov 4, 2020

    @qingfua
    Author

    Yea

    I will try it later, thanks

  9. locked and limited conversation to collaborators on Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting-for-infoWaiting for more information from submitter

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions