Sonarqube execution error report

Failed to execute goal org.sonarsource.scanner.maven:
sonar-maven-plugin:3.4.0.905:sonar (default-cli) on project HdmParent: 
Unable to execute SonarQube: Fail to get bootstrap index from server: 
Failed to connect to localhost/0:0:0:0:0:0:0:1:9000: Connection refused: connect -> [Help 1]

execute $mvn clean verify sonar:sonar Times error. I connected to a remote sonarqube server and configured it in the pom file to see why localhost/0:0:0:0:0:0:0:1:9000 is displayed in the error reported.

sonar-maven-plugin and sonar remote servers are also configured, as shown below:

clipboard.png

clipboard.png


$ mvn sonar:sonar -Dsonar.host.url=http://192.168.12.87:9009 -Dsonar.login=*

clipboard.png < / H2 >

I have checked a lot of information to no avail. I would like to ask you for advice. Thank you

Apr.05,2021

the landlord solved the code, and I also encountered


Hello, have you solved the same problem?

  • Sonar scan issu

    the following exception occurred when executing Sonar-Scanner. In the Sonar project, as long as the local Mysql is enabled in the configuration file sonar-application-7.1.1-SNAPSHOTsonarqube-7.1.1-SNAPSHOTconfsonar.properties, the following error occurs...

    Mar.03,2021
  • Problems with the use of sonar exported data

    guys, I exported sonar s database using mysqldump from my native windows. Then I import the sql data on another machine. Then the detection rules I defined locally were lost. Ask the great god for an answer, why? ...

    Mar.04,2021
  • Problems in the use of Sonar online

    there is a problem when sonar online is used to scan objective-c items as follows ...

    Mar.09,2021
  • Sonar-scanner performs scan error report

    Failed to get Node.js version.No TypeScript files will be analyzed. You can exclude TypeScript files from analysis with sonar.exclusions property ...

    Dec.10,2021
Menu