SonarQube tasks failing due to "Fail to request http://..."

Good morning everyone,

we’ve seen recently several of our CI SonarQube tasks failing with the following error message

What went wrong:
Execution failed for task ‘:sonarqube’.
Fail to request https://…**

I tried to run the same CI task with --stacktrace or --debug to get more info but I can’t get much out of it, it seems that sonar is failing to get perform that http call to the API “/api/ce/submit”.

This just started sort of recently, no more than 2 weeks ago and we didn’t update any part of our infrastructure.

Have you guys seen anything similar?

Thanks a lot

Hi,

Welcome to the community!

You need to check your proxy. It appears to be blocking the submission of the analysis report to the server.

 
Ann