SonarScanner get timeout exception when communicate with SonarCloud API

Hi, I am using SonarScanner on Jenkins CI with paid SonarCloud services.

Today (19 October 2021) at 10 am GMT+7 our job starts failing when run analysis using SonarScanner and got this exception

INFO: Total time: 21:20.074s
INFO: Final Memory: 195M/657M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Fail to request[redacted]&projectKey=[redacted]&characteristic=pullRequest%3D3647
	at org.sonar.scanner.scan.ProjectScanContainer.doAfterStart(
	at org.sonar.core.platform.ComponentContainer.startComponents(
	at org.sonar.core.platform.ComponentContainer.execute(
	at org.sonar.scanner.bootstrap.GlobalContainer.doAfterStart(
	at org.sonar.core.platform.ComponentContainer.startComponents(
	at org.sonar.core.platform.ComponentContainer.execute(
	at org.sonar.batch.bootstrapper.Batch.doExecute(
	at org.sonar.batch.bootstrapper.Batch.execute(
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(
	at com.sun.proxy.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(
	at org.sonarsource.scanner.cli.Main.execute(
	at org.sonarsource.scanner.cli.Main.execute(
	at org.sonarsource.scanner.cli.Main.main(
Caused by: timeout

We check there is no network issue on our side, is there a possibility network issue from SonarCloud side?

Thank you,


If it does not persist and you want to clarify a downtime, I would check this against SonarCloud customer service.

Thank you, will try later when PR traffic slowing down, so I can check if it persists or not.

Based on their status page everything is fine.

Unfortunately SonarCloud has no CS contacts except for billing

@Marcin_Majewski Can you help with this?

The issue no longer persists, I keep monitor but for now, will close this thread.

Thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.