No issues found locally, only on server. OmniSharp Sensor Timeout

  • Operating system: Microsoft Windows 11 Pro Version (10.0.22631 Build 22631)
  • SonarQube for IntelliJ plugin version: 10.24.0.81420
  • IntelliJ version: Rider 2025.1.2
  • Programming language you’re coding in: C# .NET 6 & 8
  • Is connected mode used: SonarQube Server ( Developer Edition: v2025.1 (102418) )

File never has any problems after analysis, but in SonarCube server it does.
Timeout of OmnisharpSensor.

Logs

[2025-05-28T08:33:46.194] [sonarlint-analysis-scheduler] INFO sonarlint - Index files
[2025-05-28T08:33:46.367] [Report about progress of file indexation] INFO sonarlint - 1 file indexed
[2025-05-28T08:33:47.124] [sonarlint-analysis-scheduler] INFO org.sonarsource.sonarlint.omnisharp.OmnisharpServerController - Starting OmniSharp…
[2025-05-28T08:33:50.723] [SonarLint Server RPC request executor] INFO sonarlint - [SYNC] Synchronizing taint issues for project ‘app’ on branch ‘main’
[2025-05-28T08:33:50.727] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Synchronizing issues for project ‘app’ on branch ‘main’
[2025-05-28T08:33:51.59] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Synchronizing taint issues for project ‘app’ on branch ‘main’
[2025-05-28T08:33:51.669] [SonarLint Local Storage Synchronizer] INFO sonarlint - [SYNC] Synchronizing hotspots for project ‘app’ on branch ‘main’
Did synchronize config scopes [C:/Users/dev/project/.idea/.idea.app.example/.idea/misc.xml]
[2025-05-28T08:33:55.604] [omnisharp-stdout-stream-consumer-18060] INFO org.sonarsource.sonarlint.omnisharp.OmnisharpServerController - OmniSharp successfully started
[2025-05-28T08:34:33.857] [sonarlint-analysis-scheduler] ERROR org.sonarsource.sonarlint.omnisharp.OmnisharpSensor - Timeout waiting for the solution to be loaded. You can find help on Scan my project - SonarQube for IDE Documentation - IntelliJ or Requirements - SonarQube for IDE Documentation - VS Code
[2025-05-28T08:34:33.857] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Available processors: 12
[2025-05-28T08:34:33.857] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Using 12 threads for analysis.
[2025-05-28T08:34:34.469] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Start fetching files for the text and secrets analysis
[2025-05-28T08:34:34.469] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.TextAndSecretsSensor - Retrieving all except non binary files
[2025-05-28T08:34:34.469] [sonarlint-analysis-scheduler] INFO org.sonar.plugins.common.analyzer.Analyzer - Starting the text and secrets analysis
[2025-05-28T08:34:34.469] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1 source file to be analyzed for the text and secrets analysis
[2025-05-28T08:34:34.516] [Progress of the text and secrets analysis] INFO org.sonar.plugins.common.MultiFileProgressReport - 1/1 source file has been analyzed for the text and secrets analysis
[2025-05-28T08:34:34.516] [sonarlint-analysis-scheduler] INFO sonarlint - Analysis detected 0 issues and 0 Security Hotspots in 63261ms

Hey there!

Did you look at these linked docs, and try the advanced configuration?

Hello Colin,

Partwise, it turns out setting my startupTimeout to 300 resolves this issue on my end.

My settings are for our project now as follows:

  • sonar.cs.internal.loadProjectsOnDemand: true
  • sonar.cs.internal.startupTimeout: 300

Im sry for overseeing this and thank you very much for your help!