Configuring SonarQube (eclipse plugin) to work from behind a company firewall

I have SonarQube installed as a plugin in Eclipse, on a machine connected behind a corporate firewall. I am able to access the website of the sonar project I am using and can also run an analysis with my current configuration when I am not behind the firewall. When I am behind the firewall, the project association and connection test of the server configuration works fine. The analysis fails with the following error message:

Exception in thread "main" org.sonar.runner.kevinsawicki.HttpRequest$HttpRequestException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
...
Caused by: java.io.EOFException: SSL peer shut down incorrectly

I have tried providing the proxy authentication details as “JVM arugments for preview analysis” in the SonarQube preference, but this causes even the server connection test to fail.

Is there a way to configure the analysis to run successfully using a server from across the firewall?


Source: eclipse

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.