Skip to content

Language server not starting

Checklist

Summary

When starting VS Code I get the error GitLab Language Server failed to start

Steps to reproduce

Completely exit VS Code and reopen VS Code. The error doesn't appear if I cmd+shift+p and run >GitLab: Restart GitLab Language Server

In case this helps, I'm running MacOS 15.5 on an M1 MacBook Pro.

What is the current bug behavior?

The language server fails to start and this error this error appears in VS Code GitLab Language Server failed to start.

What is the expected correct behavior?

I shouldn't see and error GitLab Language Server failed to start and the language server should start successfully in the background.

Relevant logs and/or screenshots

2025-06-24T08:54:39:626 [error]: {
      "userMessage": "GitLab Language Server failed to start",
      "errorMessage": "The GitLab Language Server failed to start in 10 seconds. Try to restart the GitLab extension.",
      "stack": [
        "Error: The GitLab Language Server failed to start in 10 seconds. Try to restart the GitLab extension.",
        "    at T5e.initAndStart (/Users/stirka/.vscode/extensions/src/common/language_server/language_client_wrapper.ts:170:26)",
        "    at w5e.startLanguageServer (/Users/stirka/.vscode/extensions/src/common/language_server/language_server_manager.ts:148:25)",
        "    at FVn (/Users/stirka/.vscode/extensions/src/desktop/extension.ts:386:7)",
        "    at Wb.n (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:13382)",
        "    at Wb.m (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:13345)",
        "    at Wb.l (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:120:12801)"
      ]
    }