Extensions keeping the extension host busy lead to disconnection
See original GitHub issue- VSCode Version: Insiders 2019-07-31
- Local OS Version: Win 7
- Remote OS Version: Ubuntu 18.04 (on VMWare, running locally)
- Remote Extension/Connection Type: SSH
Steps to Reproduce:
- Connect to a remote host
- Do some work for a while (or don’t!)
This is my variant of microsoft/vscode-remote-release#246.
The remote host in this case is a VM on the same machine, so the network connection is fast and reliable. I frequently get the popup saying remote host has disconnected, reconnecting in 5 seconds. It duly reconnects.
I can dismiss the popup, and carry on working, doing tasks that definitely require talking to the remote host. So it appears that it thinks it’s been disconnected, when the connection is still very much alive and well.
It’s not consistent, and I haven’t worked out a pattern of when it happens. It’s definitely bursty though - if I get one disconnection there will often be another a few seconds later.
There are no logs from any source at Trace level that correspond with the “you’ve been disconnected” popup appearing. There are plenty of logs that appear when it actually establishes a new connection. You can see all the old sshd
instances still running on the remote host.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:34
- Comments:41 (9 by maintainers)
Top GitHub Comments
Can confirm this is still an issue. Experiencing frequent disconnects on my Pi2B+ Running Ubuntu 20.04 connecting with VS Code 1.48.0 Stable on Windows 10 Pro build 19042.450
any updates? As a full remote developer, I stuck with this so many times. That’s a real problem. Maybe read just first several KB’s for the show? not the whole file?