Hello Guys, How are you all? Hope You all Are Fine. Today I face Failed to connect to the remote extension host server (Error: Handler already set!) in VisualstudioCode. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Failed to connect to the remote extension host server (Error: Handler already set!) Error Occurs ?
I want to open the repo using ssh but I am gettting Failed to connect to the remote extension host server (Error: Handler already set!).
Failed to connect to the remote extension host server (Error: Handler already set!)
How To Solve Failed to connect to the remote extension host server (Error: Handler already set!) Error ?
- How To Solve Failed to connect to the remote extension host server (Error: Handler already set!) Error ?
To Solve Failed to connect to the remote extension host server (Error: Handler already set!) Error Just Open VS code studio and press Cntrol + shift + p then type setting.json and open setting.json Now add “security.workspace.trust.enabled”: false Save setting.json file. Restart vs code studio.
Solution 1
Try in settings.json add item “security.workspace.trust.enabled”: false
- Open VS code studio and press Cntrol + shift + p
- then type setting.json and open setting.json
- Now add “security.workspace.trust.enabled”: false
- Save setting.json file.
- Restart vs code studio.
Solution 2
- The work-around is to close VSCode
- navigate to folder
USERPROFILE%\AppData\Roaming\Code\User\workspaceStorage and delete the contents (notably state.vscdb) and - then restart VSCode. The DEBUG CONSOLE then shows itself again and all is fine unless I dock it again
- and close VSCode and there is a good chance of it happening again next time VSCode is opened.
- I have stopped docking the window inside the terminal and it hasn’t happened since.
Summery
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also Read
Solution 1 worked for me on as of today: Version: 1.66.0 (Universal).
Thank you!
My pleasure to help You. Thank You For your valuable comment Den