Steps to Reproduce:
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"
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-insiderfolder on remoteIssue 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-serveron 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.
Most helpful comment
I did a bunch of things including removing the
~/.vscode-server-insiderfolder on remoteIssue does not happen anymore.