SonarQube 10.1 - Failed to upload report: Fail to request url

Hi Guys,

My Environment:
I am using SonarQube Community EditionVersion 10.1 (build 73491), installed in an Azure Cloud environment by Helm on AKS, jobs are submitted to SonarQube by Jenkins via a Templates Pod.

Problem:
I’m running a pipeline to scan some java codes that are on github, all the codes are on the same github, however, the pipeline is ending with an error “Failed to upload report: Fail to request url” apparently this is a error message on my network, but only two of those jobs are having this fault the other 4 jobs are being successfully scanned by SonarQube.
If I comment out these two jobs in the pipeline as shown in the screenshots “Code-Commented1.png” and “Code-Commented2.png”, the pipeline ends without any errors.
Could you please help me and find out the origin of this error?



LOG-Pipeline.txt (2.1 MB)
Pipeline-Part-Code.txt (3.6 KB)

Hey there.

It looks like the failure is happening at the POST api/ce/submit step.

For what it’s worth, it looks like the failure in the logs you shared has the biggest compressed analysis report (3.6 MB). Could there be an upload limit imposed by whatever is serving your SonarQube server over HTTPS (a reverse proxy like Nginx, Apache httpd, IIS…)

Hi Colin,

You are incredible, I just have to thank you for the excellent support you give us, the problem was that my reverse proxy had default values and after changing these values the problem was fixed.
Thanks again.

1 Like