Sonar report upload is failing in first attempt

Sonar analysis is always failing in the first attempt during processing to upload report with below error. It always succeeds in the subsequent attempts. Is there anything can be fixed to run it in first attempt?

java.lang.IllegalStateException: Failed to upload report: Fail to request url:

Hey there.

As noted in the template post – what version of SonarQube are you using?

  • Enterprise Edition
  • Version 10.3 (build 82913)


The first thing I’d check is why the report can’t be uploaded. If it’s a network issue you should see it in the scanner logs, but if it’s server side, you should check the logs.