1

SonarCloud server [https://sonarcloud.io] can not be reached

at sun.security.validator.Validator.getInstance(Validator.java:181)
at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:318)
at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:179)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:193)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1670)
  • It sounds like an SSL networking problem. Are you behind a firewall or any other network packages inspector? – Carlos Garcia Jun 10 '20 at 08:39
  • There is not behind a firewall. when I curl the same URL(https://sonarcloud.io) from agent getting a successful response. When I run pipeline it is throwing that issue. – Sasidhar Gajulapalli Jun 11 '20 at 11:22

1 Answers1

1

I tested a sonar scanning example with self-hosted agent, on my side, everything works well.

enter image description here enter image description here

You can check and verify SonarCloud service connection in Service connections in Project Settings.

enter image description here

In addition , you can follow this guide about integrating SonarCloud with Azure Devops.

Hugh Lin
  • 17,829
  • 2
  • 21
  • 25
  • Sonar scanner is configured properly because when we try with azure hosted machine it is working fine. Mine is PHP project so we should use a standalone scanner. Is it working for you with a stand-alone scanner? – Sasidhar Gajulapalli Jun 11 '20 at 10:45