Vscode-remote-release: Can't connect to remote SSH host

Created on 27 May 2020  路  6Comments  路  Source: microsoft/vscode-remote-release




  • VSCode Version: 1.46.0-insider
  • OS Version: Windows 10.0.19631

Steps to Reproduce:

  1. Connect to remote host on SSH

Got

Unhandled rejection: Error: Unable to write to User Settings because remote.SSH.remotePlatform is not a registered configuration.
    at e.reject (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5553:839)
    at e.resolveAndValidate (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5556:717)
    at e.doWriteConfiguration (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5551:70)
    at Object.factory (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5550:801)
    at u.consume (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:129:609)
    at file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:129:424
    at new Promise (<anonymous>)
    at u.queue (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:129:348)
    at e.writeConfiguration (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5550:786)
    at C.writeConfigurationValue (file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5576:356)
    at file:///C:/Users/aceus/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:5564:815
    at processTicksAndRejections (internal/process/task_queues.js:85:5)

Then connection seems to keep failing, eventually asking to reload window.


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

Expected behavior requires extension "Remote Development"

ssh

Most helpful comment

I did a bunch of things including removing the ~/.vscode-server-insider folder on remote

Issue does not happen anymore.

All 6 comments

I did a bunch of things including removing the ~/.vscode-server-insider folder on remote

Issue does not happen anymore.

I did a bunch of things including removing the ~/.vscode-server-insider folder on remote

Issue does not happen anymore.

I had same issue and have fixed it! Thx!!!

Removing ~/.vscode-server on remote didn't fix it for me, what exactly are those "bunch of things" @GuillaumeDesforges ?

Removing ~/.vscode-server on remote didn't fix it for me, what exactly are those "bunch of things" @GuillaumeDesforges ?

Honestly, this can be caused by so many different things... If removing ~/.vscode-server did not do the trick, I guess you need more investigation.

To answer properly your question: I don't know anymore.

Note: I'll close this one issue since I got it fixed and it did not happen to me anymore, feel free to open a new issue if you encounter the same problem.

Simply trying to re-connect fixed it as I didn't find any file to delete.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

abdullahiabdirahman picture abdullahiabdirahman  路  3Comments

nphmuller picture nphmuller  路  3Comments

6XAM picture 6XAM  路  3Comments

sulume picture sulume  路  3Comments

grzegorz-silarski picture grzegorz-silarski  路  3Comments