vscode-remote-release
vscode-remote-release copied to clipboard
[Remote-SSH Bug]: Cannot read properties of undefined (reading 'after')
Is there an existing issue for this bug?
- [X] I have searched the existing issues
Required Troubleshooting Steps
- [X] I have followed these troubleshooting steps
- [X] I have tried both values of the
remote.SSH.useLocalServersetting
Connect Locally
It doesn’t connect successfully (different error message)
->
Trying to use "Connect to Host" gives the error Cannot read properties of undefined (reading 'after')
Randomly started happening. I tried uninstalling VS Code, removed all related files, and then installed it again, but the issue persisted.
Expected Behavior
For it to not give the error and actually connect
Steps To Reproduce
- Open Command Palette
- Click "Connect to Host" Option
Remote-SSH Log
Remote-SSH Log
TypeError: Cannot read properties of undefined (reading 'after')
at w (c:\Users\admin\.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.2024050815\out\extension.js:2:455053)
at $ (c:\Users\admin\.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.2024050815\out\extension.js:2:604114)
at P (c:\Users\admin\.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.2024050815\out\extension.js:2:602947)
at getConfiguredHostnames (c:\Users\admin\.vscode\extensions\ms-vscode-remote.remote-ssh-0.112.2024050815\out\extension.js:2:470350)
at r.h (c:\Users\admin\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:153:189457)
at async Promise.all (index 1)
at t.RemoteTreeDataProvider.refeshSshHosts (c:\Users\admin\.vscode\extensions\ms-vscode.remote-explorer-0.4.3\dist\node\extension.js:1:8182)
at async Promise.all (index 1) remote-internal.getConfiguredHostnames {"value":"ms-vscode-remote.remote-ssh","_lower":"ms-vscode-remote.remote-ssh"}
Anything else?
No response
Thanks for the stack- could you share your ssh config file? Feel free to redact any addresses or specific names but I'd like to see the structure and which props show up in which order.
Its basically empty
Thanks for the stack- could you share your ssh config file? Feel free to redact any addresses or specific names but I'd like to see the structure and which props show up in which order.
Its basically empty
Hi, I have the same problem. How did you solve it?
Hi, I have the same problem. How did you solve it?
https://github.com/microsoft/vscode/issues/212685#issuecomment-2135481904