You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried both values of the remote.SSH.useLocalServer setting
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
The text was updated successfully, but these errors were encountered:
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.
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.
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect 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
Remote-SSH Log
Remote-SSH Log
Anything else?
No response
The text was updated successfully, but these errors were encountered: