vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

[Remote-SSH Bug]: Cannot read properties of undefined (reading 'after')

Open imnaiyar opened this issue 9 months ago • 1 comments

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.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.

Screenshot 2024-05-14 153033

Expected Behavior

For it to not give the error and actually connect

Steps To Reproduce

  1. Open Command Palette
  2. 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

imnaiyar avatar May 14 '24 10:05 imnaiyar