Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - 9.9.4.87374
- how is SonarQube deployed: zip, Docker, Helm - zip
- what are you trying to achieve - Trying to Run quality get check for my project
- what have you tried so far to achieve this: - I am able to run quality get check via terminal from project directory but same fails in Git Actions with below error
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
Error: SonarQube server [***] can not be reached
2037[INFO] ------------------------------------------------------------------------
2038[INFO] BUILD FAILURE
2039[INFO] ------------------------------------------------------------------------
2040[INFO] Total time: 19.865 s
2041[INFO] Finished at: 2024-05-21T17:39:11Z
2042[INFO] ------------------------------------------------------------------------
2043Error: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar (default-cli) on project mcProductService: Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:9000: Connection refused → [Help 1]
2044Error:
2045Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
2046Error: Re-run Maven using the -X switch to enable full debug logging.
2047Error:
2048Error: For more information about the errors and possible solutions, please read the following articles:
2049Error: [Help 1] MojoExecutionException - Apache Maven - Apache Software Foundation
2050Error: Process completed with exit code 1.