Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Pipelines + SonarQube. SonarQube server can not be reached

Yaroslav Minieiev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 8, 2023

Hello,

I'm trying to setup Bitbucket Pipelines + SonarQube.
Bitbucket Pipelines + SonarQube on premises works fine, but Bitbucket Pipelines + SonarQube doesn't.
On AWS we've allowlisted all IPs from this list — https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/, but still have "ERROR: SonarQube server [$SONAR_HOST_URL] can not be reached".

What can be wrong and how to fix it?

1 answer

0 votes
Pankaj Kumar
Contributor
September 8, 2023

Hi @Yaroslav Minieiev ,

Verify Environment Variables:

  • Make sure that the $SONAR_HOST_URL environment variable is set correctly in your Bitbucket Pipelines configuration.
  • Confirm that there are no typos or syntax errors in the variable 

Verify Network Configuration:

  • Ensure that your AWS environment allows outbound connections to the SonarQube server.
  • Double-check your security groups, network access control lists (NACLs), and route tables to ensure they are properly configured.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events