Fehler beim abrufen der bootstrap-index-server

Ich versuche zu tun, code-Analyse für sonarqube. Allerdings bekam ich die Fehlermeldung bei der Ausführung von

mvm sonar:sonar

Dies ist die Fehlermeldung:

[ERROR] SonarQube server [http://localhost:9000] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.972 s
[INFO] Finished at: 2017-06-06T08:51:52+08:00
[INFO] Final Memory: 8M/19M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:
3.3.0.603:sonar (default-cli) on project example-java-maven: Unable to execute SonarQube: 
Fail to get bootstrap index from server: Status returned by url 
[http://localhost:9000/batch/index] is not valid: [504] -> [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

Aber wenn ich auf http://localhost:9000 über den browser kann ich sehen das sonarqube-homepage.

Also, warum konnte das passieren?

Danke.

Alles relevante in Ihren server-logs? ($SONARQUBE_HOME/logs)
Zugang oder sonar? Es scheint mir normal zu sein.

InformationsquelleAutor Tan Yong Jin Stark | 2017-06-06

Schreibe einen Kommentar