(VSCode 1.98.2 ) Gemini Code Assist 2.30.0 failed to start server

When I updates GCA to 2.23.0, it does not start internal language server.

OS

  • BigSur 11.7.10 (20G1427)
  • MacBook Pro (Retina, 15-inch, Mid 2014)

VSCode Info

  • Version: 1.98.2 (Universal)
  • Commit: ddc367ed5c8936efe395cffeec279b04ffd7db78
  • Date: 2025-03-12T13:32:45.399Z (2 wks ago)
  • Electron: 34.2.0
  • ElectronBuildId: 11161602
  • Chromium: 132.0.6834.196
  • Node.js: 20.18.2
  • V8: 13.2.152.36-electron.0
  • OS: Darwin x64 20.6.0

Gemini Code Assist 2.30.0

It does not work with the following messages.

Failed to start the Gemini Code Assist LSP Client

Output Panel

dyld: Symbol not found: _SecTrustCopyCertificateChain
  Referenced from: /Users/____/Library/Application Support/cloud-code/cloudcode_cli/cloudcode_cli/18bcb9f2/cloudcode_cli
  Expected in: flat namespace

[Error - 6:09:51 PM] Server process exited with signal SIGABRT.
[Error - 6:09:51 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 6:09:51 PM] Connection to server got closed. Server will restart.
true
[Error - 6:09:51 PM] Gemini Code Assist client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
dyld: Symbol not found: _SecTrustCopyCertificateChain
  Referenced from: /Users/____/Library/Application Support/cloud-code/cloudcode_cli/cloudcode_cli/18bcb9f2/cloudcode_cli
  Expected in: flat namespace

[Error - 6:09:58 PM] Server process exited with signal SIGABRT.
[Error - 6:09:58 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 6:09:58 PM] Connection to server got closed. Server will restart.
true
[Error - 6:09:58 PM] Gemini Code Assist client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
dyld: Symbol not found: _SecTrustCopyCertificateChain
  Referenced from: /Users/____/Library/Application Support/cloud-code/cloudcode_cli/cloudcode_cli/18bcb9f2/cloudcode_cli
  Expected in: flat namespace

[Error - 6:09:59 PM] Server process exited with signal SIGABRT.
[Error - 6:09:59 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 6:09:59 PM] Connection to server got closed. Server will restart.
true
[Error - 6:09:59 PM] Gemini Code Assist client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 6:09:59 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
dyld: Symbol not found: _SecTrustCopyCertificateChain
  Referenced from: /Users/____/Library/Application Support/cloud-code/cloudcode_cli/cloudcode_cli/18bcb9f2/cloudcode_cli
  Expected in: flat namespace

[Error - 6:09:59 PM] Server process exited with signal SIGABRT.
[Error - 6:09:59 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 6:09:59 PM] Connection to server got closed. Server will restart.
true
[Error - 6:09:59 PM] Gemini Code Assist client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 6:09:59 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
dyld: Symbol not found: _SecTrustCopyCertificateChain
  Referenced from: /Users/____/Library/Application Support/cloud-code/cloudcode_cli/cloudcode_cli/18bcb9f2/cloudcode_cli
  Expected in: flat namespace

[Error - 6:09:59 PM] Server process exited with signal SIGABRT.
[Error - 6:09:59 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 6:09:59 PM] The Gemini Code Assist server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 6:09:59 PM] Gemini Code Assist client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 6:09:59 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
language client is not ready, cannot initialize chat state

Gemini Code Assist 2.29.0

When I install 2.29.0, it works without any problem.

1 Like

The problem is simple to figure out: You’ve got the same old Mac as I have, although you have managed to install a more recent version of macOS Big Sur (I just noticed that Apple did release 11.7.10 a year ago! And I’ve been stuck with 11.7.9 for an eternity, thinking it would be the last one ever!).

Unfortunately, whatever that library symbol is, it comes from a system library that is not installed on our most ancient, obsolete, deprecated version of macOS.

So, that’s the issue.

Now as to the resolution…

* cricket noise *

Aye, well, I know as much as you do — with the difference that I’m attempting to compile a completely different thing, namely, the Go compiler (also released by Google).

Anyway, the Gemini Code Assist developers have exactly zero interest in supporting Big Sur:

When this very same issue happened with the CUPS crowd — two years ago — the applied fix was relatively trivial, namely: revert to the previously existing code, which continues to work correctly:

A future-proof solution would be to create the equivalent of a stub, or polyfill, to deal with the missing function(s) — since they’re really just a ‘convenience’, the old way of accomplishing the same thing continues to work — place it in a separately linked dynamic library, and that’s pretty much all that it takes to fix this and make it continue to work just as before…

1 Like