[Bug 926548] Re: add-apt-repository fails with gnutls_handshake error
Guy K. Kloss
guy.kloss at arcor.de
Tue Jan 15 01:48:02 UTC 2013
I've just stumbled upon this bug report searching for the evil
pycurl.error: (35, 'gnutls_handshake() failed: GnuTLS internal error.')
I found a solution by telling cURL what version of SSL to use:
connection.setopt(pycurl.SSLVERSION, pycurl.SSLVERSION_SSLv3)
This is where I found this gem:
http://diybetfairbots.lefora.com/2010/03/08/tls-handshake-problem-with-
pycurl/#post4
Hope that helps,
Guy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pycurl in Ubuntu.
https://bugs.launchpad.net/bugs/926548
Title:
add-apt-repository fails with gnutls_handshake error
Status in “pycurl” package in Ubuntu:
Won't Fix
Status in “pycurl” package in Debian:
New
Bug description:
Updated an 11.04 installation to 11.10 and then went to install the
Cinnamon desktop environment using:
sudo add-apt-repository ppa:merlwiz79/cinnamon-ppa
The result was this:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 88, in <module>
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 80, in get_ppa_info_from_lp
curl.perform()
pycurl.error: (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')
It does not appear to be linked to the particular repository, rather
it appears to be a bug in the add-apt-repository command or the pycurl
library. I found one reference to a similar issue here:
http://code.google.com/p/wfuzz/wiki/PyCurlSSLBug
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycurl/+bug/926548/+subscriptions
More information about the foundations-bugs
mailing list