bazaar launchpad-login SSL connection timeout

Asked by Duncan Thomas on 2011-09-12

This is the first time I am using bzr for project. After set up repository in my hard disk, it's time to push to launchpad. In order to do that I have to login to launchpad. Here's the ouput from terminal:

bzr launchpad-login luciomrx
bzr: ERROR: pycurl.error: (28, 'SSL connection timeout at 297290')

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 924, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1124, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 689, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 711, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/__init__.py", line 277, in run
    account.check_lp_login(name)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/account.py", line 106, in check_lp_login
    data = _transport.get_bytes('~%s/+sshkeys' % username)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/__init__.py", line 610, in get_bytes
    f = self.get(relpath)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/__init__.py", line 126, in get
    code, response_file = self._get(relpath, None)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 171, in _get
    return self._get_full(relpath)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 206, in _get_full
    self._curl_perform(curl, header)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 375, in _curl_perform
    curl.perform()
error: (28, 'SSL connection timeout at 297290')
You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.999.2011-09-12T06:16.crash
if a bug-reporting window does not automatically appear.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bzr Edit question
Assignee:
No assignee Edit question
Solved by:
Duncan Thomas
Solved:
2011-09-12
Last query:
2011-09-12
Last reply:
Amal Bose (axatrikx) said : #1

Its an SSL connection time out error. Ive had similar one some time back. Worked fine when i tried after a while..

Duncan Thomas (luciomrx) said : #2

So.. was my internet at fault or..?? I've been trying for few days now, still have the same result

Amal Bose (axatrikx) said : #3
Martin Pool (mbp) said : #4

If this problem persists even when your network connection is otherwise reliable, then the libcurl3-gnutls package from natty-proposed will fix it.

Duncan Thomas (luciomrx) said : #5

i wasn't solved btw :) thank you though.

Duncan Thomas (luciomrx) said : #6

sorry i was pressing the wrong button :)

Martin Pool (mbp) said : #7

this should now be fixed in natty-updates (it may take a little time for the update to get to your mirror)