Skip to content
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

SSL gnutls_handshake() failed: Handshake failed #3062

Closed
jb3 opened this issue Aug 22, 2017 · 8 comments
Closed

SSL gnutls_handshake() failed: Handshake failed #3062

jb3 opened this issue Aug 22, 2017 · 8 comments
Labels
Bug A bug Operations Operations or server issue

Comments

@jb3
Copy link

jb3 commented Aug 22, 2017

Details

Expected Result

Cloning repo going fine

Actual Result

Getting an error https://i.josephbanks.me/i55un.png, this is a legit certificate from Comodo, under a Cloudflare Flexible SSL plan, so it's not a problem with the cert, just wondering what's going on...

@jb3 jb3 changed the title SSL SSL gnutls_handshake() failed: Handshake failed Aug 22, 2017
@jb3
Copy link
Author

jb3 commented Aug 22, 2017

Forgot to say the GitLab instance is https://gitlab.josephbanks.me/

@Kobzol
Copy link

Kobzol commented Mar 4, 2018

I'm having the same problem. The docs for my repo worked a week ago, but then my repo server switched to a new certificate (EV certificate from Terena) and now all RTD builds fail on git clone with the gnutls_handshake error.

@RichardLitt RichardLitt added the Bug A bug label Mar 5, 2018
@humitos
Copy link
Member

humitos commented Mar 6, 2018

@Kobzol could you provide more information?

The report of this issue is several months old and I can't reproduce it locally. So, probably something is fixed with the SSL certificate.

@humitos humitos added the Needed: more information A reply from issue author is required label Mar 6, 2018
@Kobzol
Copy link

Kobzol commented Mar 6, 2018

Every build of my project fails with this error:

git clone --recursive ...
cloning into '.'...
fatal: unable to access '<repo>': gnutls_handshake() failed: Handshake failed

I've tried to build several RTD projects hosted on the same repository website that worked with a different certificate just a few weeks ago and all of them fail with the same error, so I'm pretty sure it's caused by the certificate. I know that some other tools that are accessing the website of my repo are having the exact same problem with the handshake. So I guess it's either a badly configured certificate or maybe RTD uses an outdated SSL library that doesn't work with this certificate?

The certificate is on this site: https://code.it4i.cz. It uses TLS 1.2, ECDHE_RSA with P-256 and AES_256_GCM.

@humitos humitos added Operations Operations or server issue and removed Needed: more information A reply from issue author is required labels Mar 6, 2018
@humitos
Copy link
Member

humitos commented Mar 6, 2018

I can clone the repository without any problem in my computer, so it's definetly something on RTD. I'm not sure what, yet but I will ask to the other folks. Thanks for your report.

@davidfischer
Copy link
Contributor

I checked the certificate on SSL Labs and it looks good. This issue appears to be an issue with Ubuntu 14.04 issue -- RTD's build servers are still on that -- and when they are upgraded this will resolve itself (see #3615). The same issue does not manifest on later versions.

@Kobzol
Copy link

Kobzol commented Mar 23, 2018

It works after server upgrade to 16.04 (#3615) :-) Thanks!

@humitos
Copy link
Member

humitos commented Mar 23, 2018

@Kobzol nice! thanks for the update here. I'm closing this issue. Feel free to reopen if you consider ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug Operations Operations or server issue
Projects
None yet
Development

No branches or pull requests

5 participants