On pushing to a project repo, I get the following message.
fatal: unable to access 'https://pristinewiki2@opensourceprojects.eu/git/p/pristine/rawwiki/': gnutls_handshake() failed: A TLS packet with unexpected length was received.
Discussion
-
Miguel Ponce de Leon
2014-10-16Support from OSP requested on this issue: Have indicated that
MAC running git version 1.9.3 (works fine)
Ubuntu 14.04 git version 1.9.1 (get's this TLS error)
Ubuntu 14.04 version 2.0.0 (get's this TLS error)
-
Rui Ferreira
2014-10-16That bit of info helps. Any idea on what version of gnutls is being used in those ubuntu machines?
-
Rui Ferreira
2014-10-16Slightly similar although a bit old http://stackoverflow.com/questions/13524242/error-gnutls-handshake-failed-git-repository
-
Micheal Crotty
2014-10-16On Ubuntu 14.04: Recompiled git with openssl and it now works.
git : 1.9.1
libcurl4: 7.35.0Old version was build with:
git : 1.9.1
libcurl4: 7.35.0
libgnutls26: 2.12.23Googling seems to indicate that gnutls does not behave well behind a proxy .. was there a change in the setup?
Last edit: Micheal Crotty 2014-10-16
-
Rui Ferreira
2014-10-16So it is an issue with gnutls (or libcurl that is using it in git)
There was no change in setup, besides the proxy comes after the SSL connection handling.
Can you check if updating libcurl3-gnutls helps fixing the issue?
-
Rui Ferreira
2014-10-17Some more digging, the bug is reported in Ubuntu 12/14 https://bugs.launchpad.net/ubuntu/+source/gnutls26/+bug/1111882
I am NOT able to replicate this for Git in my ubuntu machines though, I can only replicate using other apps related to curl/gnutls (e.g. via pycurl).
I cannot be sure of the following, but there was an update to the Ubuntu libcurl3-gnutls (07-10-2014 here) and some of my colleagues saw this issue recently on other tools (uptrack-upgrade).