-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle install stops with handshake_failure trying to fetch specs from rails-assets.org #3764
Comments
I added a line I think you accidentally deleted when you entered this issue (request= line...). I can reproduce this on MacOS so I think this is a generic openssl thing. I tried some of the TLS config flags to JVM mentioned in #2220 and I can confirm those do not change this behavior. I did confirm this does work on MRI 2.3 too. @kares @mkristian you guys have any thoughts on this. |
I could reproduce the error with jdk8 but jdk7 did work for me on my macos got the idea from https://www.ssllabs.com/ssltest/analyze.html?d=rails-assets.org which does actually indicate the opposite outcome. @lumrandir did you try different JDKs ? |
@mkristian Oh, sorry, I forgot to mention JDK version being used. Added the line in the issue description. Tried this on JDK 7u79, and It works just fine. Guess I'll stick with it for a while. |
Hey @mkristian and @lumrandir . I was able to reproduce this issue on jruby 9.0.5.0 with JDK 8. I did quite a bit of research and I think I found a solution. I just changed the configuration for the cipher suites on that site (tenex/rails-assets@3120e5b). Can you try again with the same URL and confirm it doesn't break your JDK 7? |
@hut8 it works OK on JDK 7/8, thank you. Guess I can close the issue now. |
Environment
Jruby-9.0.5.0
Windows 10 x86_64, MacOS (not windows-specific)
jruby-openssl-0.9.16
Oracle JDK 1.8.0_77
Expected Behavior
Expect this script
to run successfully.
Actual Behavior
I'm getting OpenSSL::SSL::SSLError: Received fatal alert: handshake_failure
Trace:
I have seen this issue and tried setting ssl_version, which didn't help at all.
The text was updated successfully, but these errors were encountered: