Skip to content

Instantly share code, notes, and snippets.

@pedroaxl
Created February 15, 2013 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedroaxl/4959584 to your computer and use it in GitHub Desktop.
Save pedroaxl/4959584 to your computer and use it in GitHub Desktop.
Wal-e Timeout Errors
STRUCTURED: time=2013-02-14T11:17:20.418753-00 pid=2869
wal_e.worker.s3_worker INFO MSG: beginning partition download
DETAIL: The partition being downloaded is part_118.tar.lzo.
HINT: The absolute S3 key is basebackups_005/base_000000040000059500000078_00000032/tar_partitions/part_118.tar.lzo.
STRUCTURED: time=2013-02-14T11:17:23.528361-00 pid=2869
lzop: Invalid argument: <stdin>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/WAL_E-0.6.dev-py2.7.egg/wal_e/worker/s3_worker.py", line 281, in write_and_close_thread
key.get_contents_to_file(stream)
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/s3/key.py", line 1451, in get_contents_to_file
response_headers=response_headers)
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/s3/key.py", line 1300, in get_file
query_args=None)
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/s3/key.py", line 1349, in _get_file_internal
for bytes in self:
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/s3/key.py", line 316, in next
data = self.resp.read(self.BufferSize)
File "/usr/local/lib/python2.7/dist-packages/boto-2.8.0-py2.7.egg/boto/connection.py", line 412, in read
return httplib.HTTPResponse.read(self, amt)
File "/usr/lib/python2.7/httplib.py", line 561, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/ssl.py", line 232, in recv
return self.read(buflen)
File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/ssl.py", line 116, in read
wait_read(self.fileno(), timeout=self.timeout, timeout_exc=_SSLErrorReadTimeout, event=self._read_event)
File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/socket.py", line 169, in wait_read
switch_result = get_hub().switch()
File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/hub.py", line 164, in switch
return greenlet.switch(self)
SSLError: The read operation timed out
<Greenlet at 0x2cffe10: write_and_close_thread(<Key: mailee-db-wal,basebackups_005/base_000000040, <wal_e.piper.NonBlockPipeFileWrap object at 0x2da5)> failed with SSLError
wal_e.worker.s3_worker WARNING MSG: retrying after encountering exception
DETAIL: Exception information dump:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/WAL_E-0.6.dev-py2.7.egg/wal_e/worker/s3_worker.py", line 93, in shim
return f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/WAL_E-0.6.dev-py2.7.egg/wal_e/worker/s3_worker.py", line 427, in fetch_partition
g.get()
File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/greenlet.py", line 308, in get
raise self._exception
SSLError: The read operation timed out
HINT: A better error message should be written to handle this exception. Please report this output and, if possible, the situation under which it arises.
STRUCTURED: time=2013-02-14T11:17:36.869125-00 pid=2869
wal_e.worker.s3_worker INFO MSG: beginning partition download
DETAIL: The partition being downloaded is part_115.tar.lzo.
HINT: The absolute S3 key is basebackups_005/base_000000040000059500000078_00000032/tar_partitions/part_115.tar.lzo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment