gnutls_handshake() failed: A TLS packet with unexpected length was received Error from using bzr launchpad-login [NAME]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Expired
|
Undecided
|
Unassigned |
Bug Description
I was trying to identify my launchpad ID to bazaar when the error occurred as detailed below and I was requested to report it.
kayodu@
bzr: failed to report crash using apport:
OSError(13, 'Permission denied')
bzr: ERROR: pycurl.error: (28, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
account.
File "/usr/lib/
data = _transport.
File "/usr/lib/
f = self.get(relpath)
File "/usr/lib/
code, response_file = self._get(relpath, None)
File "/usr/lib/
return self._get_
File "/usr/lib/
self.
File "/usr/lib/
curl.perform()
error: (28, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')
bzr 2.2.4 on python 2.6.6 (Linux-
arguments: ['/usr/bin/bzr', 'launchpad-login', 'odusote-kayode']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.utf8'
plugins:
bash_completion /usr/lib/
bzrtools /usr/lib/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
kayodu@
Content of the ./bzr.log is as follows:
this is a debug log for diagnosing/
you can delete or truncate this file, or include sections in
bug reports to https:/
Thu 2011-04-28 02:10:45 -0400
0.131 bazaar version: 2.2.4
0.131 bzr arguments: [u'whoami', u'Kayode Odusote <email address hidden>']
0.246 looking for plugins in /home/kayodu/
0.247 looking for plugins in /usr/lib/
0.288 encoding stdout as sys.stdout encoding 'UTF-8'
0.291 creating config directory: '/home/
0.303 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.303 return code 0
Thu 2011-04-28 02:12:31 -0400
0.129 bazaar version: 2.2.4
0.129 bzr arguments: [u'branch', u'lp:~ihris-nigeria/ihris+nmc+nigeria/NMCN-4.0', u'4.0']
0.177 looking for plugins in /home/kayodu/
0.178 looking for plugins in /usr/lib/
0.219 encoding stdout as sys.stdout encoding 'UTF-8'
[ 2160] 2011-04-28 02:12:33.757 WARNING: You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
7.202 creating repository in file://
7.246 Using fetch logic to copy between CHKInventoryRep
28.110 25 bytes left on the HTTP socket
30.276 creating branch <bzrlib.
30.785 created new branch BzrBranch7(
30.805 trying to create missing lock '/var/lib/
30.806 opening working tree '/var/lib/
[ 2160] 2011-04-28 02:13:02.420 INFO: Branched 33 revision(s).
31.310 Transferred: 655kB (23.5kB/s r:628kB w:27kB)
31.310 return code 0
Thu 2011-04-28 02:13:34 -0400
0.129 bazaar version: 2.2.4
0.130 bzr arguments: [u'bind', u'lp:~ihris-nigeria/ihris+nmc+nigeria/NMCN-4.0']
0.177 looking for plugins in /home/kayodu/
0.178 looking for plugins in /usr/lib/
0.218 encoding stdout as sys.stdout encoding 'UTF-8'
[ 2161] 2011-04-28 02:13:39.291 WARNING: You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
7.057 Transferred: 3kB (1.5kB/s r:2kB w:1kB)
7.057 return code 0
Thu 2011-04-28 08:54:15 -0400
0.298 bazaar version: 2.2.4
0.298 bzr arguments: [u'branch', u'lp:ihris-mali', u'4.0']
0.440 looking for plugins in /home/kayodu/
0.441 looking for plugins in /usr/lib/
0.590 encoding stdout as sys.stdout encoding 'UTF-8'
[ 2067] 2011-04-28 08:54:20.382 WARNING: You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
9.749 creating repository in file://
9.839 Using fetch logic to copy between CHKInventoryRep
33.535 25 bytes left on the HTTP socket
39.142 creating branch <bzrlib.
39.662 created new branch BzrBranch7(
39.686 trying to create missing lock '/var/lib/
39.687 opening working tree '/var/lib/
[ 2067] 2011-04-28 08:54:56.568 INFO: Branched 67 revision(s).
40.983 Transferred: 899kB (25.4kB/s r:869kB w:30kB)
40.983 return code 0
Thu 2011-04-28 08:57:26 -0400
0.126 bazaar version: 2.2.4
0.127 bzr arguments: [u'bind', u'lp:ihris-mali']
0.174 looking for plugins in /home/kayodu/
0.175 looking for plugins in /usr/lib/
0.215 encoding stdout as sys.stdout encoding 'UTF-8'
[ 2179] 2011-04-28 08:57:52.618 WARNING: You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
29.004 Transferred: 3kB (1.7kB/s r:2kB w:1kB)
29.004 return code 0
Thu 2011-04-28 08:58:29 -0400
0.126 bazaar version: 2.2.4
0.126 bzr arguments: [u'help', u'launchpad-login']
0.175 looking for plugins in /home/kayodu/
0.175 looking for plugins in /usr/lib/
0.215 encoding stdout as sys.stdout encoding 'UTF-8'
0.264 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.264 return code 0
Thu 2011-04-28 08:59:43 -0400
0.126 bazaar version: 2.2.4
0.127 bzr arguments: [u'launchpad-
0.174 looking for plugins in /home/kayodu/
0.175 looking for plugins in /usr/lib/
0.215 encoding stdout as sys.stdout encoding 'UTF-8'
4.593 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
account.
File "/usr/lib/
raise UnknownLaunchpa
UnknownLaunchpa
4.594 Transferred: 7kB (16.6kB/s r:7kB w:0kB)
4.594 return code 3
Thu 2011-04-28 09:00:00 -0400
0.131 bazaar version: 2.2.4
0.131 bzr arguments: [u'launchpad-
0.179 looking for plugins in /home/kayodu/
0.180 looking for plugins in /usr/lib/
0.220 encoding stdout as sys.stdout encoding 'UTF-8'
300.316 got pycurl error: 28, gnutls_handshake() failed: A TLS packet with unexpected length was received., (28, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.'), url: https:/
300.348 Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
account.
File "/usr/lib/
data = _transport.
File "/usr/lib/
f = self.get(relpath)
File "/usr/lib/
code, response_file = self._get(relpath, None)
File "/usr/lib/
return self._get_
File "/usr/lib/
self.
File "/usr/lib/
curl.perform()
error: (28, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')
300.589 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
300.589 return code 4
Hi, thanks for the report. This looks a lot like a network corruption or error originating outside of bzr.
If you try again, do you get the same problem? Do you have a proxy or anything else that might be interfering with network traffic?