Failure initializing default system SSL context (again)

Continuing the discussion from Failure initializing default system SSL context:

* What went wrong:
Could not resolve all dependencies for configuration ':xxx:testCompile'.
> Could not resolve com.google.guava:guava:[15.0,).
  Required by:
  xxx:2.99.1-SNAPSHOT > xxx-dependencies:2.99.1-    SNAPSHOT > org.assertj:assertj-guava:1.3.1
   > Could not resolve com.google.guava:guava:[15.0,).
      > Failed to list versions for com.google.guava:guava.
         > Unable to load Maven meta-data from http://artifactory.xxx/artifactory/repo/com/google/guava/guava/maven-metadata.xml.
            > Failure initializing default system SSL context

This does not happen very frequently (once a week or so) and I’ve only seen it happening when using --parallel. Perhaps dependency resolution in different projects both hit some non-thread-safe ssl code in the jdk?

Thanks for the report.
A full stack-trace would be really useful here, as would some more details about your build environment (OS, JDK version, etc).

java version "1.8.0_51"
Java™ SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot™ 64-Bit Server VM (build 25.51-b03, mixed mode)

Running on Ubuntu 15.04.

I’ll try to capture a full stacktrace.

I had this issue constantly on a fresh install of Ubuntu 15.04. I had to update my ca-certs so that openjdk could actually use SSL.

Not exactly the issue here, but the exact same symptoms.

sudo update-ca-certificates -f

My issue would only occur very infrequently and only when building with multiple workers. Sounds like a different issue to me.

Hi ,

i’m trying to build the project by using Gradle it shows the below exception. Could you please help me on this

“failure initializing default system ssl context”