backblaze connection issue?

Bug #1534663 reported by Steven Verbeek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Hello,

I am using Duplicity 0.7.06 from the stable branch on Ubuntu 14.04 and I have tried two different servers on two completely different networks. No matter what I do I cannot upload to Backblaze B2 using Duplicity, the Backblaze python pusher and other tools by them all work fine. But duplicity fails when trying to upload.

Backblaze keeps sending me either

Backtrace of previous error: Traceback (innermost last):
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 365, in inner_retry
    return fn(self, *args)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 540, in put
    self.__do_put(source_path, remote_filename)
  File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 526, in __do_put
    self.backend._put(source_path, remote_filename)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/b2backend.py", line 116, in _put
    self.get_or_post(url, None, headers, data_file=data_file)
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/b2backend.py", line 256, in get_or_post
    with OpenUrl(url, data, encoded_headers) as resp:
  File "/usr/lib/python2.7/dist-packages/duplicity/backends/b2backend.py", line 332, in __enter__
    self.file = urllib2.urlopen(request)
  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
 URLError: <urlopen error [Errno 104] Connection reset by peer>

or http://laravel.io/bin/kWmnE errors.

I contacted them about the errors and they said they were going to fix the 500 one, so that one can be ignored.

Revision history for this message
Vincent Rouille (speedy37) wrote :

I run into similar issues while trying to use backblaze to backup about 200GB of data, this is why I rewrote the backblaze backend (and I'm using it with docker since then "speedy37/duplicity:alpine").

See https://bugs.launchpad.net/duplicity/+bug/1654756

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.