Sonar Cloud Analysis started failing today

Our Azure DevOps CI builds SonarCloud Analysis all started failing today. Has anyone had/having this issue?

##[error]ERROR: Error during SonarScanner execution

ERROR: Error during SonarScanner execution

##[error]java.lang.IllegalStateException: Fail to request https://scanner.sonarcloud.io/api/plugins/download?plugin=license&hash=54a37808495c4910c3030545096624a0&acceptCompressions=pack200

java.lang.IllegalStateException: Fail to request https://scanner.sonarcloud.io/api/plugins/download?plugin=license&hash=54a37808495c4910c3030545096624a0&acceptCompressions=pack200

##[error]at org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:186)

Hey @Craig,

Can you send me the full log? I will open a private thread for that.

Best,
Marcin

The cause of the error was an outbound firewall rule that blocked access to https://scanner.sonarcloud.io. This endpoint, since today, has to be accessible by the scanner to perform the analysis of the code.

I can confirm since yesterday our MSBuild started failing as they needed to reach a new endpoint…https://scanner.sonarcloud.io/ to download plugins. We had to add this endpoint to our outbound firewall rules to allow for additional external traffic. Scanning is working again. thanks.

1 Like

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