question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handle slow networks more gracefully

See original GitHub issue
  • Web Browser: Chrome 87.0.4280.88
  • Local OS: Windows 10 build 1709 16299.1087
  • Remote OS: CentOS 8.2.2004
  • Remote Architecture: x86_64
  • code-server --version: 3.7.4 11f53784c58f68e7f4c5b3b8dae9407caa41725b

[Problem] Extension does not activate, even after “active extension…” showed up at status bar. This include git extension shipped with vscode, which cause source control panel says “No source control providers registered” and “git.path” setting grayed out.

[Log] No content in code-server-stderr.log

code-server-stdout.log

[2020-12-05T07:43:31.503Z] info  code-server 3.7.4 11f53784c58f68e7f4c5b3b8dae9407caa41725b
[2020-12-05T07:43:31.504Z] info  Using user-data-dir ~/.local/share/code-server
[2020-12-05T07:43:31.512Z] info  Using config file ~/.config/code-server/config.yaml
[2020-12-05T07:43:31.512Z] info  HTTP server listening on http://127.0.0.1:8080 
[2020-12-05T07:43:31.512Z] info    - Authentication is enabled
[2020-12-05T07:43:31.512Z] info      - Using password from ~/.config/code-server/config.yaml
[2020-12-05T07:43:31.512Z] info    - Not serving HTTPS
[2020-12-05T07:43:38.334Z] debug forking vs code...
[2020-12-05T07:43:38.536Z] debug setting up vs code...
debug vscode got message from code-server {"type":"init"}
debug vscode got message from code-server {"type":"socket"}
debug vscode New connection {"token":"dd205da5-c5fa-41cc-8576-de1f56b0b552"}
[2020-12-05T07:43:42.893Z] debug got latest version {"latest":"3.7.4"}
[2020-12-05T07:43:42.893Z] debug comparing versions {"current":"3.7.4","latest":"3.7.4"}
debug Creating terminal {"id":0,"terminals":0}
debug Resolved shell launch configuration {"id":0}
debug Resolved terminal environment {"id":0}
debug Created terminal {"id":0}
debug vscode got message from code-server {"type":"socket"}
debug vscode New connection {"token":"8b7f3062-ff75-4b27-a080-a0ccac3ce0a0"}
debug Terminal bound {"id":0}
debug Terminal replaying {"id":0}
debug vscode got message from code-server {"type":"socket"}

remoteagent.log

[2020-12-05 15:43:55.114] [remoteagent] [error] [File Watcher (chokidar)] Inotify limit reached (ENOSPC)
[2020-12-05 15:43:55.114] [remoteagent] [error] [File Watcher (chokidar)] Inotify limit reached (ENOSPC)

telemetry.log

[2020-12-05 15:43:38.579] [telemetry] [info] The below are logs for every telemetry event sent from VS Code once the log level is set to trace.
[2020-12-05 15:43:38.579] [telemetry] [info] ===========================================================

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
lettorecommented, Oct 27, 2021

I’m on satellite connection at sea and I have the same problem, it should be nice if it would be possible to manage degraded networks. Not always it’s possible to connect to the server on a lan.

2reactions
stale[bot]commented, Apr 27, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no activity occurs in the next 5 days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handle slow networks more gracefully · Issue #2407 - GitHub
Running coder in AWS/Oracle environments with ADSL: Problem happened here with both browsers, in my case this internet connection is slow most ......
Read more >
How to design for slow networks and offline | by Nick Babich
In this case, it's recommended to adapt to connection — load available content and cache it while users are online (auto-download and auto-save...
Read more >
How To Network Gracefully In The Time Of Social Distancing
Even in business, our social fabric binds us together. Now is the time to connect with others in the most helpful way you...
Read more >
How do RPC systems deal with slow or flaky networks?
In an RPC (Remote Procedure Call) design, an interaction across the network is hidden behind a synchronous API that makes the network ...
Read more >
Making a connection: Handling network issues in Flutter
These days, many if not most mobile applications need to be able to ... way to more gracefully handling errors when you need...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found