Sonar scanner failing to upload report, HTTP 500

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) 8.9.1
  • what are you trying to achieve: Master Scan
  • what have you tried so far to achieve this: Partial folder scans
[2021-11-28T16:52:21.392Z] INFO: CPD Executor CPD calculation finished (done) | time=127845ms

[2021-11-28T16:52:21.392Z] INFO: Load New Code definition

[2021-11-28T16:52:22.092Z] INFO: Load New Code definition (done) | time=465ms

[2021-11-28T16:58:48.021Z] INFO: Analysis report generated in 203411ms, dir size=3 GB

[2021-11-28T17:18:37.358Z] INFO: Analysis report compressed in 1192132ms, zip size=1 GB

[2021-11-28T17:32:31.249Z] INFO: ------------------------------------------------------------------------

[2021-11-28T17:32:31.249Z] INFO: EXECUTION FAILURE

[2021-11-28T17:32:31.249Z] INFO: ------------------------------------------------------------------------

[2021-11-28T17:32:31.249Z] INFO: Total time: 21:21:03.423s

[2021-11-28T17:32:31.249Z] INFO: Final Memory: 8M/136M

[2021-11-28T17:32:31.249Z] INFO: ------------------------------------------------------------------------

[2021-11-28T17:32:31.249Z] ERROR: Error during SonarScanner execution

[2021-11-28T17:32:31.249Z] ERROR: Failed to upload report - An error has occurred. Please contact your administrator

[2021-11-28T17:32:31.249Z] ERROR: 

[2021-11-28T17:32:31.249Z] ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.

When I run with -X, it says HTTP error 500. Is it a server side problem with report size?

Hi,

Welcome to the community!

There is likely something on your network, e.g. a proxy, that’s blocking the analysis report submission. You should check with your network folks. We don’t place a limit on the analysis report size.

 
HTH,
Ann