close

[Solved] Failed to connect to the remote extension host server (Error: Handler already set!)

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 ?

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

  1. Open VS code studio and press Cntrol + shift + p
  2. then type setting.json and open setting.json
  3. Now add “security.workspace.trust.enabled”: false
  4. Save setting.json file.
  5. Restart vs code studio.

Solution 2

  1. The work-around is to close VSCode
  2. navigate to folder
    USERPROFILE%\AppData\Roaming\Code\User\workspaceStorage and delete the contents (notably state.vscdb) and
  3. then restart VSCode. The DEBUG CONSOLE then shows itself again and all is fine unless I dock it again
  4. and close VSCode and there is a good chance of it happening again next time VSCode is opened.
  5. 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

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment