cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Failed to connect to the remote extension host server (Error: ExtensionInstallFailed(ExtensionInstallFailed("Extension 'github.copilot' not found.\nMake sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp\nExtension 'github.copilot-chat' not found.

Open af4ro opened this issue 1 year ago • 6 comments

  1. If you can, please include a screenshot of your problem Screenshot 2024-06-27 at 4 41 51 PM Screenshot 2024-06-27 at 4 42 10 PM

  2. Please include the name of your operating system MacOS: 14.5 with Cursor: 0.35.1

  3. If you can, steps to reproduce are super helpful Trying to connect to server with Remote-SSH:

  1. Hit Cmd + Shft + P
  2. Enter "Remote-SSH: connect to host..." and then pick server to connect to This works on my VSCode but not on Cursor

Full error in dev tools: workbench.desktop.main.js:21870 Failed to connect to the remote extension host server (Error: ExtensionInstallFailed(ExtensionInstallFailed("Extension 'github.copilot' not found.\nMake sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp\nExtension 'github.copilot-chat' not found.\nMake sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp\nFailed Installing Extensions: github.copilot, github.copilot-chat\n")))

af4ro avatar Jun 27 '24 23:06 af4ro

+1 having the same issue, please let me know if you find a solution

julianchr avatar Jun 28 '24 18:06 julianchr

same, please look at this, it's extremely annoying it's flaky (sometimes it doesn't show up and i connect just fine) have had this happen for the past two releases of Cursor

patriksimurka avatar Jul 03 '24 13:07 patriksimurka

okay, i fixed it with this: https://github.com/getcursor/cursor/issues/847#issuecomment-1703637028

patriksimurka avatar Jul 03 '24 13:07 patriksimurka

amazing, this fixed it! thanks for the help!

edit: this gave me access to the server, but the issue would spring up again at next login. So for me, full fix required:

  • deleting ~/.cursor-server in SSH via Terminal
  • launching Cursor
  • removing the Github Copilot extensions from the Remote SSH download config (in settings)
  • connect to SSH via Cursor

julianchr avatar Jul 03 '24 15:07 julianchr

amazing, this fixed it! thanks for the help!

edit: this gave me access to the server, but the issue would spring up again at next login. So for me, full fix required:

  • deleting ~/.cursor-server in SSH via Terminal
  • launching Cursor
  • removing the Github Copilot extensions from the Remote SSH download config (in settings)
  • connect to SSH via Cursor

Thanks, it works for me, key opertation is step 3.

KyrieLii avatar Sep 02 '24 09:09 KyrieLii

Failed to connect to the remote extension host server (Error: ExtensionInstallFailed(ExtensionInstallFailed("Extension 'github.copilot' not found.\nMake sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp\nFailed Installing Extensions: github.copilot\n")))

The same thing is happening to me — deleting ~/.cursor-server fixes this for one connection, but after that, it will happen again. I couldn't find any mentions of the GitHub Copilot extension anywhere in the cursor setting or in the repo .vscode directory, so I don't know why it is still happening.

EDIT: I only checked .vscode/extensions.json and not .vscode/setting.json and because my search ignores these files I couldn't find the copilot that was mentioned in the "remote.SSH.defaultExtensions" setting there. Thank you for the fix.

ValentaTomas avatar Sep 04 '24 22:09 ValentaTomas