After the upgrade to okhttp 3 the sonar-ws client is crashing with an IBM JVM.
The method sslSocketFactory(SSLSocketFactory) is deprecated and JavaDoc of replacement method say:
Most applications should not call this method, and instead use the system defaults. Those classes include special optimizations that can be lost if the implementations are decorated.
I have tested that removing call to sslSocketFactory fix the issue, but we have to be sure there will be no negative side effect.
Note: to allows IBM JVM + okhttp to connect to SonarQube.com, which is TLS 1.2, a system property must be set: http://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.security.component.80.doc/security-component/jsse2Docs/matchsslcontext_tls.html