Sonarqube Integration with bitbucket cloud

Hi Team,

I am trying to integrate bitbucket cloud with sonarqube server, I have configured everything in bitbucket-pipelines.yml file, When we try to run the pipeline we are facing the below issue, Can you please with these.

We have installed our sonarqube server in our Cloud openVPN server and we are using bitbucket cloud.

09:33:34.915 DEBUG: Download: $SONAR_HOST_URL/batch/index
09:33:34.966 ERROR: SonarQube server [$SONAR_HOST_URL] can not be reached
09:33:34.966 INFO: ------------------------------------------------------------------------
09:33:34.967 INFO: ------------------------------------------------------------------------
09:33:34.967 INFO: Total time: 0.546s
09:33:34.984 INFO: Final Memory: 3M/17M
09:33:34.984 ERROR: Error during SonarScanner execution
09:33:34.984 INFO: ------------------------------------------------------------------------
org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarScanner analysis
	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(
	at java.base/ Method)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(
	at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(
	at org.sonarsource.scanner.api.EmbeddedScanner.doStart(
	at org.sonarsource.scanner.api.EmbeddedScanner.start(
	at org.sonarsource.scanner.cli.Main.execute(
	at org.sonarsource.scanner.cli.Main.main(
Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server

Thanks & Regards,
Rakesh Reddy M

Hi Rakesh,

Your job is failing on the very first call to the SonarQube server. It indicates a problem with the server location you’ve provided to analysis. Start by double-checking that configuration.