This almost works.. it fails for me when i have a large number of files
to backup, and works fine when there's just a few. The number of files
is not consistent though, with ~2000 files it sometimes works and
sometimes doesn't.
I'm using a swift-based provider and swift itself can upload the files
using a proxy fine and very quickly. Is there a way we can just dump the
duplicity backups locally after reading them from the server and upload
them manually?
Curiously the the failure message is an SSL mismatch one from the
requests library. Looking at the packet dump when it works duplicity
uses TLS 1.2 the whole time. When it fails a "Encypted Alert" packet
arrives.
Without changing the verbosity it hangs while uploading the diff tars,
with the output: `Attempt 1 failed. ConnectionError: None`
And running duplicity with the `--verbosity d` argument gives me the
accompanying:
```
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/duplicity/backend.py",
line 374, in inner_retry
return fn(self, *args)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/duplicity/backend.py",
line 545, in put
self.__do_put(source_path, remote_filename)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/duplicity/backend.py",
line 531, in __do_put
self.backend._put(source_path, remote_filename)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/duplicity/backends/swiftbackend.py",
line 150, in _put
open(util.fsdecode(source_path.name), u'rb'))
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/swiftclient/client.py",
line 1913, in put_object
response_dict=response_dict)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/swiftclient/client.py",
line 1753, in _retry
service_token=self.service_token, **kwargs)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/swiftclient/client.py",
line 1380, in put_object
conn.putrequest(path, headers=headers, data=data)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/swiftclient/client.py",
line 484, in putrequest
return self.request('PUT', full_path, data, headers, files)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/swiftclient/client.py",
line 472, in request
files=files, **self.requests_args)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/swiftclient/client.py",
line 453, in _request
return self.request_session.request(*arg, **kwarg)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/requests/sessions.py",
line 530, in request
resp = self.send(prep, **send_kwargs)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packiddyages/requests/sessions.py",
line 643, in send
r = adapter.send(request, **kwargs)
File
"/home/me/.virtualenvs/duplicity/lib/python3.6/site-packages/requests/adapters.py",
line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: [SSL: WRONG_VERSION_NUMBER] wrong version
number (_ssl.c:852)
```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/409739
Title:
Support http_proxy
To manage notifications about this bug go to:
https://bugs.launchpad.net/deja-dup/+bug/409739/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs