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
peer not authenticated error when downloading with gradle 2.10 #423
Comments
Hi @grote Thank you so much for the detailed analysis! There used to this kind of issue with SNI SSL certificates but jitpack.io is no longer using that so its strange to see it. |
I can get the dependency just fine with wget and the browser as well, just Java does not validate the certificate. I am using Debian Sid. Java is:
I am using Gradle 2.10 and no proxy. The issue seems to also exist with "Arch Linux x86_64 and openjdk 7" as per #424. |
Using Gradle 2.11 instead of 2.10 indeed solves this issue. Thanks for the idea! |
Oh wow, this has been driving me crazy for the past week. Thanks @grote for saving me once again. |
Thanks a lot @grote for the solution! |
Peer authentication to jitpack.io fails with JDK 7 / Gradle 2.10 (jitpack/jitpack.io#423).
Peer authentication to jitpack.io fails with JDK 7 / Gradle 2.10 (jitpack/jitpack.io#423).
Peer authentication to jitpack.io fails with JDK 7 / Gradle 2.10 (jitpack/jitpack.io#423).
Having the same issue in Maven -- does anyone understand what the nature of the fix in Gradle was? |
+1 |
Must upgrade gradle to work around jitpack/jitpack.io#423.
I would like to say that I have the same issue with maven using 3.0.2 on ubuntu. This was fixed by updating to the latest version of maven. |
@dtracers Thank you for the information! |
Updating to gradle 2.11 also worked for me! 👍 |
updating to 2.11 worked for me too , thanks a lot |
Got this message building a project on PhoneGap Build. My project uses a Cordova plugin which I developed myself and use in other Cordova projects. The problem only raises in PhoneGap Build.
The plugin that I am uisng in my app is Cordova-Flic: |
I'm trying to figure it out. I don't know because it is a cloud build
|
thanks @grote. |
change jcenter() to this: this works for me. |
Not much of a fix. You're just turning off SSL. |
Yes, it's not the right solution. |
I found a solution that worked for me that add this into your gradle.properties.
|
When trying to get a jitpack hosted dependency via gradle, I receive this error:
When adding the parameter
-Djavax.net.debug=ssl:handshake
to the gradle call, I get this more verbose description of the problem:This is on Debian sid and the reason might the that JitPack's SSL certificate coming from COMODO is maybe not trusted by its java installation. Please note that I have verified that my java trust store at
/etc/ssl/certs/java/cacerts
is not empty. I even rebuilt it running:However,
wget
and browsers validate the certificate just fine. So the error might actually not be with JitPack. I am posting it here anyway since it directly affects your main feature.The text was updated successfully, but these errors were encountered: