Skip to content

Offline localhost support? #1925

Closed
Closed
@hgarrereyn

Description

@hgarrereyn
  • Web Browser: Chrome
  • Local OS: Chrome OS
  • Remote OS: Linux
  • Remote Architecture: amd64
  • code-server --version: 3.4.1

I've been trying to use code-server to develop locally on Chrome OS. I have a linux container running code-server and I can connect to it at localhost:8080.

For some reason, this requires internet access. My wifi is somewhat spotty and I get frequent "Reconnecting..." popups every 30 seconds or so. If I disable wifi, I just see the message "OFFLINE."

I understand that installing extensions requires internet access, but internet access should not be a dependency for a local connection.

I've seen #808 and unfortunately this no longer works on recent versions of code-server (seems to be 3.0.0+).

So I have two main questions:

  • Is there a way to disable the internet dependency for offline work?
  • Why does the heartbeat check require internet access? i.e. why do I see "Reconnecting..." popups while connected to localhost?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions