Please provide
- Operating system: Windows 11
- SonarLint plugin version: 4.12.0
- Programming language you’re coding in: C/C++
- Is connected mode used: yes
- Connected to SonarCloud or SonarQube (and which version): 9.9
And a thorough description of the problem / question:
Hi, I would like to run SonarLint in connected mode with our SonarQube 9.9 server. But when I set this up I get the following error:
Client SonarLint Language Server: connection to server is erroring. Shutting down server.
Sending request 'shutdown - (2)'.
Stopping server timed out
Stopping server failed
Error: Stopping the server timed out
at /root/.vscode-server/extensions/sonarsource.sonarlint-vscode-4.12.0/dist/extension.js:2:881069
I get the last message a few times before all logs stop.
When I check SonarQube (in the security section of my profile) I see that the last connection my account made was when SonarLint tried to connect.
I have already enabled verbose logging hoping to see more information, but sadly nothing new about failing to connect.
EDIT
Enabling more log settings gave me the following additional errors:
Client SonarLint Language Server: connection to server is erroring. Shutting down server.
... (repeated hunderds of times)
org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Read end dead
... (repeated hunderds of times)
Stopping server timed out
Stopping server failed
Error: Stopping the server timed out
at /root/.vscode-server/extensions/sonarsource.sonarlint-vscode-4.12.0/dist/extension.js:2:881069
at runNextTicks (node:internal/process/task_queues:60:5)
at process.processTimers (node:internal/timers:511:9)
... (repeated hunderds of times)
org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: Read end dead
... (repeated hunderds of times)
Client SonarLint Language Server: connection to server is erroring. Shutting down server.