SonarQube server [https://sq.domain.com] can not be reached

  1. which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    – SonarQube: 8.5.0.37579
    – Scanner: .NET 4.4.0.2170

  2. what are you trying to achieve
    – complete the scan process by running SonarScanner.MSBuild.exe end /d:sonar.login="[mytoken]"

  3. what have you tried so far to achieve this
    – I’ve tested that server responds to a ping and I can navigate to it

Hi @Peter_Mendez ,

Welcome to SonarSource Community! :sonarsource:

Can you share your DEBUG level logs (add /d:“sonar.verbose=true” to the BEGIN step with Sonar Scanner for .NET/MSBuild) and attach them here in a .txt file?

Also, have you set your Administration > Configuration > General > Server Base URL? Set it and try the scan again:

Lastly, can you show the result of this curl command?

curl -u [mytoken]: https://sq.domain.com/api/system/health

Make sure you have the colon after your [mytoken].

Joe

Thanks it turns out I needed to install the certificate like this post suggested. See marked answer java - "PKIX path building failed" and "unable to find valid certification path to requested target" - Stack Overflow

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.