bzr: ERROR: pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

Bug #301922 reported by tdflanders
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

thomas@thomas-laptop:~$ bzr get http://bzr.debian.org/pkg-bazaar/bzr/unstable
bzr: ERROR: Target directory "unstable" already exists.
thomas@thomas-laptop:~$ bzr get https://bazaar.launchpad.net/~jamie-strandboge/ufw/trunk
bzr: ERROR: pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 840, in run
    from_location)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 878, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 756, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 793, in open_from_transport
    redirected)
  File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1616, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 770, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1593, in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 2580, in probe_transport
    server_version = medium.protocol_version()
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 531, in protocol_version
    client_protocol.query_version()
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 770, in query_version
    self.call('hello')
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 618, in call
    self._request.finished_writing()
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 416, in finished_writing
    self._finished_writing()
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 551, in _finished_writing
    data = self._medium.send_http_smart_request(self._buffer)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 518, in send_http_smart_request
    code, body_filelike = self._post(bytes)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 268, in _post
    self._curl_perform(curl, header, ['Expect: '])
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 326, in _curl_perform
    curl.perform()
error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

bzr 1.6.1 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'get', 'https://bazaar.launchpad.net/~jamie-strandboge/ufw/trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.6.0]
  dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [unknown]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3.0]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.13]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
thomas@thomas-laptop:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux bzr
Description: Ubuntu 8.10
Release: 8.10
Linux thomas-laptop 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux
linux:
  Installed: 2.6.27.10.13
  Candidate: 2.6.27.10.13
  Version table:
 *** 2.6.27.10.13 0
        500 http://gb.archive.ubuntu.com intrepid-proposed/restricted Packages
        100 /var/lib/dpkg/status
     2.6.27.7.11 0
        500 http://gb.archive.ubuntu.com intrepid/restricted Packages
bzr:
  Installed: 1.6.1-1
  Candidate: 1.6.1-1
  Version table:
 *** 1.6.1-1 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
thomas@thomas-laptop:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :
Revision history for this message
tdflanders (thomasdelbeke) wrote :
Download full text (3.9 KiB)

Hi there,

more of the same:

thomas@ubuntu:~$ bzr get http://code.launchpad.net/%7Eubuntu-elisp/emacs/ubuntu/http://code.launchpad.net/%7Eubuntu-elisp/emacs/ubuntu/ is redirected to https://code.launchpad.net/~ubuntu-elisp/emacs/ubuntu/
bzr: ERROR: pycurl.error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 953, in run
    from_location)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 888, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 766, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 803, in open_from_transport
    redirected)
  File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1634, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 780, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1634, in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 2617, in probe_transport
    server_version = medium.protocol_version()
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 593, in protocol_version
    client_protocol.query_version()
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 769, in query_version
    self.call('hello')
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 617, in call
    self._request.finished_writing()
  File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 421, in finished_writing
    self._finished_writing()
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 575, in _finished_writing
    data = self._medium.send_http_smart_request(self._buffer)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 552, in send_http_smart_request
    code, body_filelike = t._post(bytes)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 267, in _post
    self._curl_perform(curl, header, ['Expect: '])
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 341, in _curl_perform
    curl.perform()
error: (60, 'server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt')

Traceback (most recent call last):
  File "/usr/bin/bzr", line 130, in <module>
    exit_val = bzrlib.commands.main(sys.ar...

Read more...

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@ubuntu:~$ lsb_release -rd ; uname -a ; apt-cache policy bzr linux emacs22-common
Description: Ubuntu jaunty (development branch)
Release: 9.04
Linux ubuntu 2.6.27-8-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux
bzr:
  Installed: 1.9-1
  Candidate: 1.9-1
  Version table:
 *** 1.9-1 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
linux:
  Installed: 2.6.27.8.12
  Candidate: 2.6.27.8.12
  Version table:
 *** 2.6.27.8.12 0
        100 /var/lib/dpkg/status
     2.6.27.7.11 0
        500 http://archive.ubuntu.com jaunty/restricted Packages
emacs22-common:
  Installed: (none)
  Candidate: 22.2-0ubuntu2
  Version table:
     22.2-0ubuntu2 0
        500 http://archive.ubuntu.com jaunty/main Packages
thomas@ubuntu:~$

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ bzr get http://code.launchpad.net/%7Eubuntu-elisp/emacs/ubuntu/
http://code.launchpad.net/%7Eubuntu-elisp/emacs/ubuntu/ is redirected to https://code.launchpad.net/~ubuntu-elisp/emacs/ubuntu/
Format <RepositoryFormatKnit1> for http://bazaar.launchpad.net/%7Eubuntu-elisp/emacs/ubuntu/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance
bzr: ERROR: Target directory "ubuntu" already exists.
thomas@thomas-laptop:~$

thomas@thomas-laptop:~$ bzr get https://code.launchpad.net/~ubuntu-core-dev/network-manager/gnome.ubuntu.0.6.xFormat <RepositoryFormatKnit1> for http://bazaar.launchpad.net/%7Eubuntu-core-dev/network-manager/gnome.ubuntu.0.6.x/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance
bzr: ERROR: Target directory "gnome.ubuntu.0.6.x" already exists.
thomas@thomas-laptop:~$

Now this is different, any ideas?

Revision history for this message
tdflanders (thomasdelbeke) wrote :

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux bzr curl
Description: Ubuntu 8.10
Release: 8.10
Linux thomas-laptop 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 UTC 2008 i686 GNU/Linux
linux:
  Installed: 2.6.27.10.13
  Candidate: 2.6.27.10.13
  Version table:
 *** 2.6.27.10.13 0
        500 http://gb.archive.ubuntu.com intrepid-proposed/restricted Packages
        100 /var/lib/dpkg/status
     2.6.27.7.11 0
        500 http://gb.archive.ubuntu.com intrepid/restricted Packages
bzr:
  Installed: 1.6.1-1
  Candidate: 1.6.1-1
  Version table:
 *** 1.6.1-1 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
curl:
  Installed: 7.18.2-1ubuntu4
  Candidate: 7.18.2-1ubuntu4
  Version table:
 *** 7.18.2-1ubuntu4 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
thomas@thomas-laptop:~$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.