SSLError: [Errno bad handshake] [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

Bug #1498165 reported by Jorman Franzini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Hi, I've some problem on duplicity run, my config is:
Using installed duplicity version 0.7.05, python 2.7.3, gpg 1.4.7 (Home: ~/.gnupg), awk 'GNU Awk 4.0.1', grep 'grep (GNU grep) 2.12', bash '3.2.54(1)-release (i686-unknown-linux-gnu)'.

And this's the log for the run:
Traceback (most recent call last):
  File "/opt/bin/duplicity", line 1525, in <module>
    with_tempdir(main)
  File "/opt/bin/duplicity", line 1519, in with_tempdir
    fn()
  File "/opt/bin/duplicity", line 1357, in main
    action = commandline.ProcessCommandLine(sys.argv[1:])
  File "/opt/lib/python2.7/site-packages/duplicity/commandline.py", line 1103, in ProcessCommandLine
    backup, local_pathname = set_backend(args[0], args[1])
  File "/opt/lib/python2.7/site-packages/duplicity/commandline.py", line 994, in set_backend
    globals.backend = backend.get_backend(bend)
  File "/opt/lib/python2.7/site-packages/duplicity/backend.py", line 223, in get_backend
    obj = get_backend_object(url_string)
  File "/opt/lib/python2.7/site-packages/duplicity/backend.py", line 209, in get_backend_object
    return factory(pu)
  File "/opt/lib/python2.7/site-packages/duplicity/backends/onedrivebackend.py", line 90, in __init__
    self.initialize_oauth2_session()
  File "/opt/lib/python2.7/site-packages/duplicity/backends/onedrivebackend.py", line 129, in initialize_oauth2_session
    user_info_response = self.http_client.get(self.API_URI + 'me')
  File "/opt/local/lib/python2.7/site-packages/requests/sessions.py", line 477, in get
    return self.request('GET', url, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/requests_oauthlib/oauth2_session.py", line 287, in request
    token = self.refresh_token(self.auto_refresh_url)
  File "/opt/local/lib/python2.7/site-packages/requests_oauthlib/oauth2_session.py", line 250, in refresh_token
    timeout=timeout, verify=verify)
  File "/opt/local/lib/python2.7/site-packages/requests/sessions.py", line 508, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/requests_oauthlib/oauth2_session.py", line 303, in request
    headers=headers, data=data, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/opt/local/lib/python2.7/site-packages/requests/adapters.py", line 431, in send
    raise SSLError(e, request=request)
SSLError: [Errno bad handshake] [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

Any idea?

J

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

Other bug subscribers

Remote bug watches

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