Timeout waiting for response to: /sonarlint/codecheck

Please provide

  • Operating system: Latest Win11 Pro
  • SonarLint plugin version: 10.3.0.77475
  • Programming language you’re coding in: C#
  • Is connected mode used: 20.11.1
    • Connected to SonarCloud or SonarQube (and which version):

And a thorough description of the problem / question:
Big solution (> 120 projects)

Analysis Properties:
sonar.cs.internal.loadProjectsOnDemand: true

Throws exception on analysis:

Error executing sensor: 'OmniSharp'
java.lang.IllegalStateException: Timeout waiting for response to: /sonarlint/codecheck
	at org.sonarsource.sonarlint.omnisharp.protocol.OmnisharpEndpoints.doRequestAndWaitForResponse(OmnisharpEndpoints.java:142)
	at org.sonarsource.sonarlint.omnisharp.protocol.OmnisharpEndpoints.codeCheck(OmnisharpEndpoints.java:65)
	at org.sonarsource.sonarlint.omnisharp.OmnisharpSensor.scanFile(OmnisharpSensor.java:170)
	at org.sonarsource.sonarlint.omnisharp.OmnisharpSensor.analyze(OmnisharpSensor.java:130)
	at org.sonarsource.sonarlint.omnisharp.OmnisharpSensor.execute(OmnisharpSensor.java:102)
	at org.sonarsource.sonarlint.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensor(SensorsExecutor.java:95)
	at org.sonarsource.sonarlint.core.analysis.container.analysis.sensor.SensorsExecutor.executeSensors(SensorsExecutor.java:86)
	at org.sonarsource.sonarlint.core.analysis.container.analysis.sensor.SensorsExecutor.execute(SensorsExecutor.java:76)
	at org.sonarsource.sonarlint.core.analysis.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:122)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.startComponents(SpringComponentContainer.java:182)
	at org.sonarsource.sonarlint.core.plugin.commons.container.SpringComponentContainer.execute(SpringComponentContainer.java:161)
	at org.sonarsource.sonarlint.core.analysis.container.module.ModuleContainer.analyze(ModuleContainer.java:71)
	at org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:58)
	at org.sonarsource.sonarlint.core.analysis.command.AnalyzeCommand.execute(AnalyzeCommand.java:32)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine$AsyncCommand.execute(AnalysisEngine.java:153)
	at org.sonarsource.sonarlint.core.analysis.AnalysisEngine.executeQueuedCommands(AnalysisEngine.java:71)
	at java.base/java.lang.Thread.run(Thread.java:840)

You can close this issue … after 2 hours of waiting everything works … i don’t change anything …

1 Like