duplicity-team team mailing list archive
-
duplicity-team team
-
Mailing list archive
-
Message #04182
[Question #620963]: Amazon cloud backup exception on line 311
New question #620963 on Duplicity:
https://answers.launchpad.net/duplicity/+question/620963
Hello!
I am trying to perform a basic duplicity backup using the Amazon cloud backend.
I start duplicity, I get prompted to authenticate and input the returned URL, which I do. The backup continues until it's supposed to upload to Amazon cloud, upon which it throws an exception. I am not sure how to interpret the exception and I can't seem to find much info on it either. From what I can see it has to do with oauth but I am not sure.
The exception is:
Writing duplicity-full.20170416T233822Z.vol1.difftar.gpg
Backtrace of previous error: Traceback (innermost last):
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 369, in inner_retry
return fn(self, *args)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 522, in put
self.__do_put(source_path, remote_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 508, in __do_put
self.backend._put(source_path, remote_filename)
File "/usr/lib/python2.7/dist-packages/duplicity/backends/adbackend.py", line 311, in _put
headers=headers)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 500, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests_oauthlib/oauth2_session.py", line 257, in request
headers=headers, data=data, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 457, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 400, in send
low_conn.close()
File "/usr/lib/python2.7/httplib.py", line 830, in close
self.sock.close() # close it manually... there may be other refs
File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 212, in close
return self.connection.shutdown()
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 1157, in shutdown
_raise_current_error()
File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 22, in exception_from_error_queue
raise exceptionType(errors)
Error: []
The command I'm running is:
duplicity -v9 --full-if-older-than 14D /media/BackupDrive ad:///Home_backup
The folder does exist on my Amazon cloud account and the authentication seems to go through. I'm using the latest backend for Amazon cloud and duplicity version 0.7.10. I'm running Debian jessie.
Any help would be greatly appreciated!
--
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.