java.lang.IllegalStateException: Fail to request http://myserver:myserverport/sonar/api/properties?format=json

Google Groups | Unknown author | 2 weeks ago
  1. 0

    Sonarlint-cli issue with connected mode and non SSL SonarQube server

    Google Groups | 2 weeks ago | Unknown author
    java.lang.IllegalStateException: Fail to request http://myserver:myserverport/sonar/api/properties?format=json
  2. 0

    Sonar Lint Installation Issue and Doubts

    Google Groups | 8 months ago | Unknown author
    java.lang.IllegalStateException: Fail to request https://nemo.sonarqube.org/api/system/status
  3. 0

    SSL Connection to Server not working Intellij 2016/ SonarLint 2.0.2

    Google Groups | 9 months ago | christian polzer
    java.lang.IllegalStateException: Fail to request https:// <https://sonar-qs.kaufland/sonar/api/system/status>pathtoserver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. sun.security.provider.certpath.SunCertPathBuilderException

    unable to find valid certification path to requested target

    at sun.security.provider.certpath.SunCertPathBuilder.build()
  2. Java RT
    Validator.validate
    1. sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
    2. sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
    3. java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
    4. sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
    5. sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    6. sun.security.validator.Validator.validate(Validator.java:260)
    6 frames
  3. Java JSSE
    SSLSocketImpl.startHandshake
    1. sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
    2. sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
    3. sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
    4. sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
    5. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
    6. sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
    7. sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
    8. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
    9. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    10. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    11. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    11 frames
  4. okhttp3.internal.io
    RealConnection.connect
    1. okhttp3.internal.io.RealConnection.connectTls(RealConnection.java:239)
    2. okhttp3.internal.io.RealConnection.establishProtocol(RealConnection.java:196)
    3. okhttp3.internal.io.RealConnection.buildConnection(RealConnection.java:171)
    4. okhttp3.internal.io.RealConnection.connect(RealConnection.java:111)
    4 frames
  5. okhttp3.internal.http
    HttpEngine.sendRequest
    1. okhttp3.internal.http.StreamAllocation.findConnection(StreamAllocation.java:187)
    2. okhttp3.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:123)
    3. okhttp3.internal.http.StreamAllocation.newStream(StreamAllocation.java:93)
    4. okhttp3.internal.http.HttpEngine.connect(HttpEngine.java:296)
    5. okhttp3.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)
    5 frames
  6. okhttp3
    RealCall.execute
    1. okhttp3.RealCall.getResponse(RealCall.java:243)
    2. okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201)
    3. okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163)
    4. okhttp3.RealCall.execute(RealCall.java:57)
    4 frames
  7. org.sonarqube.ws
    HttpConnector.call
    1. org.sonarqube.ws.client.HttpConnector.doCall(HttpConnector.java:201)
    2. org.sonarqube.ws.client.HttpConnector.get(HttpConnector.java:145)
    3. org.sonarqube.ws.client.HttpConnector.call(HttpConnector.java:134)
    3 frames
  8. org.sonarsource.sonarlint
    ConnectedSonarLintEngineImpl.update
    1. org.sonarsource.sonarlint.core.container.connected.SonarLintWsClient.rawGet(SonarLintWsClient.java:99)
    2. org.sonarsource.sonarlint.core.container.connected.SonarLintWsClient.get(SonarLintWsClient.java:66)
    3. org.sonarsource.sonarlint.core.container.connected.update.GlobalPropertiesDownloader.fetchGlobalPropertiesTo(GlobalPropertiesDownloader.java:46)
    4. org.sonarsource.sonarlint.core.container.connected.update.GlobalUpdateExecutor.update(GlobalUpdateExecutor.java:77)
    5. org.sonarsource.sonarlint.core.container.connected.ConnectedContainer.update(ConnectedContainer.java:73)
    6. org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.update(ConnectedSonarLintEngineImpl.java:191)
    7. org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.update(ConnectedSonarLintEngineImpl.java:177)
    7 frames
  9. org.sonarlint.cli
    Main.main
    1. org.sonarlint.cli.analysis.ConnectedSonarLint.update(ConnectedSonarLint.java:88)
    2. org.sonarlint.cli.analysis.ConnectedSonarLint.start(ConnectedSonarLint.java:57)
    3. org.sonarlint.cli.Main.run(Main.java:84)
    4. org.sonarlint.cli.Main.execute(Main.java:167)
    5. org.sonarlint.cli.Main.main(Main.java:134)
    5 frames