SonarQubePrepare Task Fails in Azure DevOps – Server Version Query Timeout & Inactive Version

Hi Team,

I’m encountering two different errors when trying to integrate test-SonarQube into two separate Azure DevOps projects. The logs show the following:

Error 1 :
[SQ] API GET ‘/api/server/version’ failed, error is network timeout at: http://bcbsrisonar-test:9000/sonarqube/api/server/version.

Error 2 :
An error occurred while querying the server version! Please check if the server is running and if the address is correct.

Additionally, the SonarQube UI displays a red banner stating:

“You’re running a version of SonarQube that is no longer active. Please upgrade to an active version immediately.”

My current SonarQube version is v10.7 (build 96237), the server is up and running. The UI is accessible and responsive.

Is the root cause of these errors solely due to the SonarQube version being inactive, or could there be other network or configuration issues involved? The server is running and reachable via browser, but the tasks in Azure DevOps fail during the SonarQubePrepare step.

Any guidance on whether upgrading SonarQube will resolve these issues or if additional troubleshooting is needed would be greatly appreciated.

Thanks in advance!

Hi,

Your version is past EOL. You should update to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your update path is:

10.7 → 2025.1.3-> 2025.4 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

Regarding your question, the error during analysis is unrelated to the version. It indicates that your sonar.host.url is misconfigured or that something’s blocking it on the network.

 
HTH,
Ann