-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Remote-SSH Bug]: Failed upgrade causing remote-ssh errors, disconnects, instability #10133
Comments
Facing the same issue since today morning. Downgrading to 1.91 |
Terrible instability for me in the last 2 weeks for remote tunnels. |
Once again, after another update, 1.93 and we're seeing reports of failed connections. One user reported deleting (e.g. here's another bug filed #10229 ) |
One error I saw today in the macOS logs on the local side:
Click to expand longer error log
|
@bamurtaugh I'm wondering if you're the right person to help with this severe issue. Every time there's a vscode upgrade, it breaks for the remote-ssh extension for a percentage of our team members. This is extremely disruptive. I support our team's usage of vscode and our workflow relies on using remote linux servers for development. Team members report inability to connect, missing extensions, crashes, etc, and this requires they manually For example, today after one team member was unable to reconnect using remote-ssh after the upgrade rolled out, we were able to see these logs on their local macbook:
Full log in gist: https://gist.github.com/Hnasar/faac2d9f702a6c5d4e9deb1cb37a3331 They also added,
This issue has been plaguing us for months and is driving users to use pycharm. I'm wondering if we should firewall off the vscode upgrade domain due to this issue. I'm happy to schedule a debugging call or provide any other information needed. Thank you for your work — otherwise, I'm a big fan of this extension! |
Thanks for looping me in, and sorry to hear about the trouble. Looping in @joshspicer for his insights too! |
Thanks for the logs @Hnasar. Specifically for what you've shared above, does this connection issue reproduce on the previous release version ( I see The We also have this setting that was introduced specifically for (seemingly) this kind of setup: If you decide to give this a go, please use the latest pre-release build of the extension. Changing channels can be done easily in the extension UI: |
As an aside We're investing this iteration (and likely the next one or two after) on improvements on how we define a baseline reliability metric for this extension (to prevent these unnecessary regressions). Some details are published publicly on our iteration plan and other ideas are under discussion. Please let me know if you have any other feedback you think would be valuable for me to incorporate. |
Thanks for the replies Josh and Brigit, and thanks for the focus on bug fixing!! I'll try out the pre-release, 'lockfiles in tmp', and moving the Also, is a possibility that the 'lockfiles in tmp' could be automatically selected as needed (e.g. if the server install is NFS)? As for information about our setup, we have home directories mounted via NFS v3 from a standard NetApp network filesystem. The mount options are: |
We don't currently have anyway to dynamically detect this. If you have any ideas on a portable, generic way to do such a thing let me know! (Also, doesn't seem like folks always need this, and when we change the default behavior for one person it inevitably breaks someone else's setup 😉 )
Please let us know if you've been successful on the latest releases, and if not what snags you're currently running into! |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It connects successfully
->
I typically use vscode-remote to use vscode on a linux server over ssh. When I got the July 2024 release today, I started getting errors connecting to the server.
Looking at the output (included below) it seems like there were errors during server installation that resulted in crashes on startup due to missing javascript modules.
Workaround was to
rm -rf ~/.vscode-server
from my ssh server.A handful of my colleagues also experienced similar issues. We seem to have these kinds of issues every time a new update gets released.
Expected Behavior
When updates roll out, it doesn't result in javascript errors that crash the app.
Steps To Reproduce
Remote-SSH Log
logs here (too big to attach) https://gist.github.com/Hnasar/4b295e51f2fc255ccbfc1dee3d4f9248
Anything else?
The home directory on the linux server is mounted with NFS, if that matters.
The text was updated successfully, but these errors were encountered: