microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.62k stars 277 forks source link

[Remote-SSH Bug]: #9638

Open jpnserame opened 6 months ago

jpnserame commented 6 months ago

Is there an existing issue for this bug?

Required Troubleshooting Steps

Connect Locally

It connects successfully

->

Issue Summary It seems like we're encountering an issue with our VS Code remote-ssh connections, leading to connectivity problems and SSH blocks on our server. Despite uninstalling extensions and ensuring no residual processes, there's a persistent number of connections when users connect, eventually causing disruptions.

Our dev server has 4GB RAM and 20GB NVME storage

Observations: Even after uninstalling extensions and verifying no leftover processes, there's a problem that causes the server to be locked for SSH connections and requires us to reboot it.

The server isn't crashing outright but rather experiencing connectivity issues or blocks, as indicated by the lack of notifications from our 24X7 tool that can still run and communicate upon the SSH connection block.

Resource usage on the server appears within normal bounds during these spikes, suggesting a more nuanced issue.

screenshots of some dev server metrics from a "crash" a few days ago:

cpu metrics

memory metrics

network metrics

Expected Behavior

No response

Steps To Reproduce

No response

Remote-SSH Log

Remote-SSH Log

``` [PASTE LOG HERE] ```

Anything else?

No response

guillemram97 commented 6 months ago

I have a similar issue on 1.85.2 and MacOS. My error code is:

Error running command remote-explorer.configureSsh: command 'opensshremotes.openConfigFile' not found. This is likely caused by the extension that contributes remote-explorer.configureSsh.

I also have 1.86 installed, and this does not seem to be an issue.

david-torox commented 5 months ago

i have similar problem, linux server(Ubuntu) and pc(win11)