SSLHandshakeError: certificate verify failed

Bug #1046395 reported by Nicola Jelmorini
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
New
Undecided
Unassigned

Bug Description

I have set a daily backup, and until today all has worked very well.
Today instead the backup doesn't work anymore.

These are the error messages that are displayed in the Déjà Dup window:

##########################################################################
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1403, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1396, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1378, in main
    incremental_backup(sig_chain)
  File "/usr/bin/duplicity", line 562, in incremental_backup
    sig_chain.get_fileobjs())
  File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 526, in get_fileobjs
    return map(filename_to_fileobj, self.get_filenames(time))
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 550, in get_fileobj_read
    self.get(filename, tdp)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 323, in iterate
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 201, in get
    answer = auth.request(remote_full)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-couch/ubuntuone/couch/auth.py", line 152, in request
    url, method=http_method, headers=headers, body=request_body)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1444, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1196, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1132, in _conn_request
    conn.connect()
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 913, in connect
    raise SSLHandshakeError(e)
SSLHandshakeError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
##########################################################################

I use Ubuntu 12.04 64bit.
deja-dup 22.0-0ubuntu2
duplicity 0.6.18-0ubuntu3

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :
Revision history for this message
Val (vk1266) wrote :

Exactly the same symptoms here, although the error messages are not 100% the same:

#####################################
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1403, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1396, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1272, in main
    sync_archive(decrypt)
  File "/usr/bin/duplicity", line 1072, in sync_archive
    copy_to_local(fn)
  File "/usr/bin/duplicity", line 1013, in copy_to_local
    fileobj = globals.backend.get_fileobj_read(fn)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 550, in get_fileobj_read
    self.get(filename, tdp)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 323, in iterate
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 201, in get
    answer = auth.request(remote_full)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-couch/ubuntuone/couch/auth.py", line 152, in request
    url, method=http_method, headers=headers, body=request_body)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1444, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1196, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1132, in _conn_request
    conn.connect()
  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 913, in connect
    raise SSLHandshakeError(e)
SSLHandshakeError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

Revision history for this message
Tim Kuhlman (timkuhlman) wrote :

I am also getting the same certificate verify failed issue.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :

I have booted my PC right now and the backup has finished correctly. So perhaps the problem is resolved. Someone else can confirm this?

Revision history for this message
Val (vk1266) wrote :

Yes, it works now. No error messages. Must have been some kind of problem at Ubuntu One's end.

Revision history for this message
Humphrey van Polanen Petel (hpvpp) wrote :

No error messages now, just the Error Code 500 that I have been getting ever since 12.04

Revision history for this message
Phil Dobbin (bukowskiscat) wrote :

I can confirm that the last three days (23/10/12 -> 25/10/12) that my backup scheduled for 01:00 just returns a simple 500 server error.

Is there a status page for this service?

p.s. trying to post this message results in a server error. I'll keep trying...

Revision history for this message
Michael Terry (mterry) wrote :

The original message about SSL handshake verification failing seems to be resolved. For your status 500 issues, that's bug 882699. I'll mark this as a duplicate.

Revision history for this message
Val (vk1266) wrote :

The duplicate status of this bug is likely wrong. The original error messages, and the error messages in post #2, have nothing to do with Error Code 500 and everything to do with SSL handshake verification.

The problem is NOT resolved.

The bug appears intermittently and it looks very much like it's an intermittent problem with Ubuntu One and not the Deja Dup's problem. I experience this problem about once a week, and usually after an hour or two the problem goes away by itself.

Revision history for this message
Michael Terry (mterry) wrote :

The people in the bug that had commented about the SSL issue said it went away for them, so the only issue left here was the 500 status error.

But interesting to hear that the SSL issue is still happening. I'll re-open this.

summary: - The backups are not working anymore and many error messages are
- displayed
+ SSLHandshakeError: certificate verify failed
no longer affects: deja-dup
affects: ubuntuone-storage-protocol → ubuntuone-servers
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.