gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

VSCode companion extension fails to connect

Open denisdekh opened this issue 1 month ago • 2 comments

What happened?

First time install of Gemini CLI and the VSCode extension. Fails to connect every time with this error message:

Image

It failed to install from the CLI so I installed manually, the extension runs (I can see the debug output), but every time I try to connect with a /ide command I get the above error and this message in the companion extension output:

Image

Seems like a discrepancy in how the CLI and the extension are trying to connect.

What did you expect to happen?

Successful connection when running the /ide command

Client information

  • CLI Version: 0.19.4
  • Git Commit: 935114875
  • Session ID: 5cd43182-e12c-4b0f-9bad-b5b505a73027
  • Operating System: win32 v24.11.1
  • Sandbox Environment: no sandbox
  • Model Version: auto
  • Memory Usage: 235.6 MB
  • IDE Client: VS Code

Login information

Google account

Anything else we need to know?

I tried this with both IDE mode setting on and off, no difference

denisdekh avatar Dec 05 '25 19:12 denisdekh

Found possible duplicate issues:

  • #6372
  • #11370
  • #8704
  • #7115
  • #11771
  • #8076
  • #10171
  • #12528
  • #7587
  • #7092

If you believe this is not a duplicate, please remove the status/possible-duplicate label.

gemini-cli[bot] avatar Dec 05 '25 19:12 gemini-cli[bot]

@denisdekh This should be resolved in v0.20.0 of the extension. Can you please confirm if the issue got fixed after updating the extension?

skeshive avatar Dec 15 '25 17:12 skeshive

Marking this as closed- I manually tested in windows and I don't see this error anymore with v0.20.0 of the extension. Please file a new issue if you're still running into issues!

skeshive avatar Dec 18 '25 21:12 skeshive