Unable to access SonarQube using Azure DevOps Pipeline

  • Version: SonarQube

  • I’ve completed the steps to connect a SonarQube project to my build pipeline manually and on the prepare analysis step I get this error:

“##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“errno”:“ETIMEDOUT”,“code”:“ETIMEDOUT”,“syscall”:“connect”,“address”:“”,“port”:9000}”

The build agent VM and SonarQube VM are sitting in the same place so shouldn’t have any firewall issues however I am waiting for credentials to check this.


Welcome to the community!

This does look like some sort of network problem. Either that, or the build agent doesn’t have the correct URL for the server.


Update; I checked the build agent being used and SonarQube URL is accessible from there.


Did you double check that analysis is using the correct URL?


The issue here was the build agent. It’s solved.