SonarQube server can not be reached error

I am trying to configure SonnarQube Swift to work for my current iOS project, using our continuous integration system configured on BuddyBuild.

On the last step I get the following error :

2019-07-29T12:09:09.286Z - ce: 05:09:09.248 ERROR: SonarQube server [] can not be reached
2019-07-29T12:09:09.315Z - ce: 05:09:09.275 ERROR: Error during SonarQube Scanner execution
2019-07-29T12:09:09.316Z - ce: org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQube
2019-07-29T12:09:09.332Z - ce: at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(
2019-07-29T12:09:09.334Z - ce: at Method)
2019-07-29T12:09:09.336Z - ce: at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(

2019-07-29T12:09:09.337Z - ce: at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher(
2019-07-29T12:09:09.339Z - ce: at org.sonarsource.scanner.api.EmbeddedScanner.doStart(
2019-07-29T12:09:09.341Z - ce: at org.sonarsource.scanner.api.EmbeddedScanner.start(
2019-07-29T12:09:09.342Z - ce: at org.sonarsource.scanner.cli.Main.execute(
2019-07-29T12:09:09.343Z - ce: at org.sonarsource.scanner.cli.Main.main(
2019-07-29T12:09:09.344Z - ce: Caused by: java.lang.IllegalStateException: Fail to get bootstrap index from server
2019-07-29T12:09:09.345Z - ce: at org.sonarsource.scanner.api.internal.BootstrapIndexDownloader.getIndex(
2019-07-29T12:09:09.347Z - ce: at org.sonarsource.scanner.api.internal.JarDownloader.getScannerEngineFiles(
2019-07-29T12:09:09.348Z - ce: at
2019-07-29T12:09:09.349Z - ce: at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.lambda$createLauncher$0(
2019-07-29T12:09:09.394Z - ce: … 7 more
2019-07-29T12:09:09.408Z - ce: Caused by: PKIX path building failed: unable to find valid certification path to requested target
2019-07-29T12:09:09.315Z - ce: 05:09:09.275 ERROR: Error during SonarQube Scanner execution

I was unable to solve this problem. Could anyone help me out?
Our firewall does not seem to be the issue here since it accepts all incoming HTTPS requests.

Sonar-scanner version:
SonarQube version :

Hi Augustin,

It seems to me that your certificate fails. Did you self-sign the certificate? Then you will also need to add it to the JAVA certificate trust store. This may help:


1 Like

Seems like it.
Thank you very much!
Will try your suggested solution.