eed3si9n / gigahorse

Gigahorse is an HTTP client for Scala with multiple backend support.
http://eed3si9n.com/gigahorse
Apache License 2.0
121 stars 25 forks source link

download tests fail in Scala 2.12 community build on OpenJDK 10 #54

Closed SethTisue closed 5 years ago

SethTisue commented 6 years ago

I'm not sure if this is two problems or one problem, but at e.g. https://scala-ci.typesafe.com/view/scala-2.12.x/job/scala-2.12.x-jdk10-integrate-community-build/56/consoleFull and in other runs we consistently see:

[gigahorse] [info] - should retrieve a resource from Wikipedia *** FAILED ***
[gigahorse] [info]   java.net.ConnectException: General SSLEngine problem
...
[gigahorse] [info]   Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
...

and then a bit later the whole thing hangs until Jenkins times out:

[gigahorse] [info] http.download
Build timed out (after 15 minutes). Marking the build as aborted.
xuwei-k commented 6 years ago

reproduce in travis-ci

workaround in travis-ci

xuwei-k commented 6 years ago

succeeded with oraclejdk10

eed3si9n commented 6 years ago

Potentially related:

So the cert store can be in JKS format, PKCS12 format with empty password, or PKCS12 format with the password set to changeit?

SethTisue commented 5 years ago

https://github.com/scala/community-builds/pull/840

SethTisue commented 5 years ago

(not sure whether this got fixed because we're on JDK 11 now, or what)