Is SonarQube down? We are getting 504 Gateway error for the site and plus the prepare analysis on Sonarqube task is failing in our pipelines with the same error.
We are on the developer edition 9.4 version
Is SonarQube down? We are getting 504 Gateway error for the site and plus the prepare analysis on Sonarqube task is failing in our pipelines with the same error.
We are on the developer edition 9.4 version
This is the log info from the Prepare Analysis on SonarQube Task in our pipline.
##[debug]organization=undefined
##[debug][SQ] API GET: ‘/api/server/version’ with query “undefined”
##[debug]Response: 504 Body: “504.0 GatewayTimeout”
##[debug][SQ] API GET ‘/api/server/version’ failed, status code was: 504
##[debug]task result: Failed
##[error][SQ] API GET ‘/api/server/version’ failed, status code was: 504
##[debug]Processed: ##vso[task.issue type=error;][SQ] API GET ‘/api/server/version’ failed, status code was: 504
##[debug]Processed: ##vso[task.complete result=Failed;][SQ] API GET ‘/api/server/version’ failed, status code was: 504
Hello @probertson ,
For your SonarQube instance, Sonar doesn’t maintain or have access to your SonarQube instance, so that means we don’t control if it is up or down. That is the responsibility of the network infrastructure connecting your CI/pipeline to SonarQube. You may be running into a network/database optimization issue.
Some questions to consider:
curl -u <INSERT-USER-TOKEN>: '<INSERT-SQ-HOSTNAME>/api/server/version'
Hi Joe,
Thanks for replying. We have two projects(iOS and .net) that are running SonarQube. The iOS project build pipeline is failing as well.
Thanks for the update.
Please note that this is not a standard deployment we recommend because it requires certain modifications that we do not handle. Are you using the vanderby/SonarQube-AzureAppService? You should check if you are running into any issues by checking the $SQ_HOME/logs folder.
Yes, a simple check with curl should give you truth about the SonarQube server, so you have a few tests to try at least:
Hey Joe, It looks like we are back up and running. I’m not sure why it went down but when checked it yesterday I was able to access my site and run my pipelines.
Thanks for your help!!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.