ERROR: SonarQube server [https://nemo.sonarqube.org] can not be reached

764 views
Skip to first unread message

Shaun Wilde

unread,
May 31, 2016, 5:07:30 PM5/31/16
to SonarQube
When I try to push my results to sonarqube I get the above error message and I don't understand why - I am hoping someone does and can explain the resolution and I know it'll be something obvious.

Here is the end piece

INFO: SonarQube Scanner 2.6
INFO: Java 1.7.0_51 Oracle Corporation (32-bit)
INFO: Windows 8 6.2 x86
INFO: SONAR_SCANNER_OPTS=-Xmx1024m
INFO: Error stacktraces are turned on.
INFO: User cache: C:\Users\******\.sonar\cache
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 1.247s
ERROR: SonarQube server [https://nemo.sonarqube.org] can not be reached
INFO: Final Memory: 2M/15M
ERROR: Error during SonarQube Scanner execution
INFO: ------------------------------------------------------------------------
org.sonarsource.scanner.api.internal.ScannerException: Unable to execute SonarQ
be
        at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(I
olatedLauncherFactory.java:84)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(I
olatedLauncherFactory.java:71)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createL
uncher(IsolatedLauncherFactory.java:71)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createL
uncher(IsolatedLauncherFactory.java:67)
        at org.sonarsource.scanner.api.EmbeddedScanner.doStart(EmbeddedScanner.
ava:218)
        at org.sonarsource.scanner.api.EmbeddedScanner.start(EmbeddedScanner.ja
a:156)
        at org.sonarsource.scanner.cli.Main.execute(Main.java:70)
        at org.sonarsource.scanner.cli.Main.main(Main.java:60)
Caused by: java.lang.IllegalStateException: Fail to download libraries from ser
er
        at org.sonarsource.scanner.api.internal.Jars.downloadFiles(Jars.java:93

        at org.sonarsource.scanner.api.internal.Jars.download(Jars.java:70)
        at org.sonarsource.scanner.api.internal.JarDownloader.download(JarDownl
ader.java:39)
        at org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run(I
olatedLauncherFactory.java:75)
        ... 8 more
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake
failure
        at sun.security.ssl.Alerts.getSSLException(Unknown Source)
        at sun.security.ssl.Alerts.getSSLException(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Sourc
)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Connection.connec
Tls(Connection.java:239)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Connection.connec
Socket(Connection.java:201)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Connection.connec
(Connection.java:172)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Connection.connec
AndSetOwner(Connection.java:358)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.OkHttpClient$1.co
nectAndSetOwner(OkHttpClient.java:117)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.Htt
Engine.connect(HttpEngine.java:329)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.Htt
Engine.sendRequest(HttpEngine.java:246)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Call.getResponse(
all.java:276)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Call$ApplicationI
terceptorChain.proceed(Call.java:234)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Call.getResponseW
thInterceptorChain(Call.java:196)
        at org.sonarsource.scanner.api.internal.shaded.okhttp.Call.execute(Call
java:79)
        at org.sonarsource.scanner.api.internal.ServerConnection.callUrl(Server
onnection.java:114)
        at org.sonarsource.scanner.api.internal.ServerConnection.downloadString
ServerConnection.java:99)
07:01:33.552  Creating a summary markdown file...
        at org.sonarsource.scanner.api.internal.Jars.downloadFiles(Jars.java:78

        ... 11 more
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug loggin
.
The SonarQube Scanner did not complete successfully
Post-processing failed. Exit code: 1


Shaun Wilde

unread,
Jun 1, 2016, 7:06:27 AM6/1/16
to SonarQube
Okay I have updated to the latest java script framework and that issue has now gone - I now have another issue which I am currently investigating - I may be back

carlo...@gmail.com

unread,
Jun 7, 2016, 6:03:37 PM6/7/16
to SonarQube

Please, what was the concrete solution?. I have the same problem.

Minakshi

unread,
Feb 12, 2018, 1:23:17 AM2/12/18
to SonarQube
Hi Shaun,

I am new to using sonarqube and teamcity.
I am also getting the same issue as posted, can you please help me on this.
When you are saying after updating the Java Script framework, does it means updating on your local system or server?
Reply all
Reply to author
Forward
0 new messages