Issue trying to get sonarqube to work with azure devops

I have SonarQube server deployed on Linux. I have it working with existing pipeline that is scanning a .NET repository. It is working fine. When I try and scan a web project using the same connector I get the following error.

  Starting: SonarQubePrepare
==============================================================================
Task         : Prepare Analysis Configuration
Description  : Prepare SonarQube Server analysis configuration
Version      : 7.1.1
Author       : sonarsource
Help         : [More Information](https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/scanners/sonarqube-extension-for-azure-devops/)
==============================================================================
##[error][ERROR] SonarQube Server: Error while executing task Prepare: API GET '/api/server/version' failed. Error message: timeout of 60000ms exceeded.
##[error]API GET '/api/server/version' failed. Error message: timeout of 60000ms exceeded.
Finishing: SonarQubePrepare

Are you using a yaml pipeline? If so can you share the yaml you are using?

1 Like