Fail to get bootstrap index from server: connect timed out

Sonarqube version: 7.9.1
Sonar Maven Plugin:

I just upgraded my Sonarqube version running on Docker and whenever my Jenkins try to push sonar analysis using sonar maven plugin it fails.

My telnet from my jenkins server to sonar server it’s working.

I copy/paste my maven log bellow:

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project PROJECT_NAME: Unable to execute SonarQube: Fail to get bootstrap index from server: connect timed out -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]


Welcome to the community!

To be clear, this

means that when you try to access directly the failing URL in your analysis log, it works?


Hi Ann,

Thanks for your time. When I access Sonar server URL using wget from Jenkins server I download index file with this content:


But when Jenkins Job tries to run I hits that connection timeout error.

I even edited my settings.xml file on maven installation folder (/usr/local/maven/conf/) and included properties information about, but no luck so far.

When I was using Sonarqube 7.7.1 with sonar-maven-plugin 3.2 everything was fine.

Since I already upgraded my database to Sonarqube 7.9.1 I can’t rollback to previous version.

Is it possible to export previous analysis, create new database, use Sonar 7.7.1 and dump data in this new db?


Are you on the latest Jenkins and Maven scanners?


Yes. I’m using Jenkins 2.187 and maven plugin


The latest version of the Jenkins Scanner / plugin is 2.9. Could you upgrade and try again?


I’m already using SonarQube Scanner for Jenkins 2.9.

This looks like a network error since it’s timing out, might be hard for us to help.
If you run with -X -e you might get more details about the cause of the error.

14 posts were split to a new topic: Fail to get bootstrap index from server: timeout

Hi @Fhighlander
I am having the same connection timeout issue. Did yours got resolved?
I am running two seperate containers in aws ubuntu ec2 public instance but when i am executing sonar-scanner I am also getting connection timeout.

Sorry for delay.

But I solved my problem when I updated my sonar maven plugin version (3.2 to and when I used property.

Using this doc page to learn about the sonar maven plugin:
This command worked after I upgraded sonarqube and saw the above error:
mvn org.sonarsource.scanner.maven:sonar-maven-plugin: