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:3.6.0.1398:sonar (default-cli) on project PROJECT_NAME: Unable to execute SonarQube: Fail to get bootstrap index from server: connect timed out -> [Help 1]
[ERROR]
[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]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
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 sonar.host.url, but no luck so far.
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.
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.