Hello everyone,
When I try to restore my backup from s3 I’ve got this message :
socket.timeout: The read operation timed out
Any idea why ? I don’t find anything (tried to increase timeout value, search on github of duplicaty and boto project)
Sometimes it’s happend on volume5 sometimes volume 15
Help
Full stack :
Processed volume 5 of 39
Registering (mktemp) temporary file /tmp/duplicity-8q24wlkd-tempdir/mktemp-xal5gibt-11
Backtrace of previous error: Traceback (innermost last):
File “/usr/lib/python3/dist-packages/duplicity/backend.py”, line 384, in inner_retry
return fn(self, *args)
File “/usr/lib/python3/dist-packages/duplicity/backend.py”, line 578, in get
self.backend._get(remote_filename, local_path)
File “/usr/lib/python3/dist-packages/duplicity/backends/_boto_single.py”, line 279, in _get
key.get_contents_to_filename(local_path.name)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1728, in get_contents_to_filename
response_headers=response_headers)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1666, in get_contents_to_file
response_headers=response_headers)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1498, in get_file
query_args=None)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1551, in _get_file_internal
for bytes in self:
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 398, in next
data = self.resp.read(self.BufferSize)
File “/usr/local/lib/python3.6/dist-packages/boto/connection.py”, line 413, in read
return http_client.HTTPResponse.read(self, amt)
File “/usr/lib/python3.6/http/client.py”, line 463, in read
n = self.readinto(b)
File “/usr/lib/python3.6/http/client.py”, line 507, in readinto
n = self.fp.readinto(b)
File “/usr/lib/python3.6/socket.py”, line 586, in readinto
return self._sock.recv_into(b)
File “/usr/lib/python3.6/ssl.py”, line 1012, in recv_into
return self.read(nbytes, buffer)
File “/usr/lib/python3.6/ssl.py”, line 874, in read
return self._sslobj.read(len, buffer)
File “/usr/lib/python3.6/ssl.py”, line 631, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
Attempt 1 failed. timeout: The read operation timed out
Backtrace of previous error: Traceback (innermost last):
File “/usr/lib/python3/dist-packages/duplicity/backend.py”, line 384, in inner_retry
return fn(self, *args)
File “/usr/lib/python3/dist-packages/duplicity/backend.py”, line 578, in get
self.backend._get(remote_filename, local_path)
File “/usr/lib/python3/dist-packages/duplicity/backends/_boto_single.py”, line 279, in _get
key.get_contents_to_filename(local_path.name)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1728, in get_contents_to_filename
response_headers=response_headers)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1666, in get_contents_to_file
response_headers=response_headers)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1498, in get_file
query_args=None)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1551, in _get_file_internal
for bytes in self:
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 398, in next
data = self.resp.read(self.BufferSize)
File “/usr/local/lib/python3.6/dist-packages/boto/connection.py”, line 413, in read
return http_client.HTTPResponse.read(self, amt)
File “/usr/lib/python3.6/http/client.py”, line 463, in read
n = self.readinto(b)
File “/usr/lib/python3.6/http/client.py”, line 507, in readinto
n = self.fp.readinto(b)
File “/usr/lib/python3.6/socket.py”, line 583, in readinto
raise OSError(“cannot read from timed out object”)
OSError: cannot read from timed out object
Attempt 2 failed. OSError: cannot read from timed out object
Backtrace of previous error: Traceback (innermost last):
File “/usr/lib/python3/dist-packages/duplicity/backend.py”, line 384, in inner_retry
return fn(self, *args)
File “/usr/lib/python3/dist-packages/duplicity/backend.py”, line 578, in get
self.backend._get(remote_filename, local_path)
File “/usr/lib/python3/dist-packages/duplicity/backends/_boto_single.py”, line 279, in _get
key.get_contents_to_filename(local_path.name)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1728, in get_contents_to_filename
response_headers=response_headers)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1666, in get_contents_to_file
response_headers=response_headers)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1498, in get_file
query_args=None)
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 1551, in _get_file_internal
for bytes in self:
File “/usr/local/lib/python3.6/dist-packages/boto/s3/key.py”, line 398, in next
data = self.resp.read(self.BufferSize)
File “/usr/local/lib/python3.6/dist-packages/boto/connection.py”, line 413, in read
return http_client.HTTPResponse.read(self, amt)
File “/usr/lib/python3.6/http/client.py”, line 463, in read
n = self.readinto(b)
File “/usr/lib/python3.6/http/client.py”, line 507, in readinto
n = self.fp.readinto(b)
File “/usr/lib/python3.6/socket.py”, line 583, in readinto
raise OSError(“cannot read from timed out object”)
OSError: cannot read from timed out object