Skip to content
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 explorer / SSH - Cannot connect to remote node #192915

Closed
LeonardoEmili opened this issue Sep 12, 2023 · 2 comments
Closed

Remote explorer / SSH - Cannot connect to remote node #192915

LeonardoEmili opened this issue Sep 12, 2023 · 2 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@LeonardoEmili
Copy link

LeonardoEmili commented Sep 12, 2023

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.81.2
  • OS Version: macOS Ventura 13.4.1
  • Moving the discussion of the issue from the original discussion, as suggested by @connor4312

Steps to Reproduce:

  1. After vscode got updated to 1.81.2 I'm not able to to connect to my remote machine anymore (window reloading couldn't help). Please note that both manually ssh'ing into the node via terminal or using another IDE work fine.
  2. Even after deep cleaning the local installation (remove extensions, delete the ~/.vscode directory, reset to the default configs, re-install vscode to the latest stable release) or the remote one (kill the remote server via the command palette, remove the ~/.vscode directory) I was unable to connect to any of my machines.
  3. Manually downgrading to 1.81.1 seems to have solved the issue.

Here's the error I got, unfortunately it seems it's the only log that was produced:

[10:19:08.867] Failed to parse remote port from server output
[10:19:08.868] Resolver error: Error: 
	at g.Create (/Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:637876)
	at t.handleInstallOutput (/Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:635279)
	at t.tryInstall (/Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:756875)
	at async /Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:717467
	at async t.withShowDetailsEvent (/Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:720720)
	at async C (/Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:714381)
	at async t.resolve (/Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:718116)
	at async /Users/leonardoemili/.vscode/extensions/ms-vscode-remote.remote-ssh-0.106.3/out/extension.js:2:901786
[10:19:08.869] ------
@vscodenpa
Copy link

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

@justschen justschen added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 12, 2023
@justschen
Copy link
Contributor

related to #192834

@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants