Skip to content

Instantly share code, notes, and snippets.

@aaronfeng
Created January 29, 2014 22:40
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 aaronfeng/8698709 to your computer and use it in GitHub Desktop.
Save aaronfeng/8698709 to your computer and use it in GitHub Desktop.
docker registry
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File "/docker-registry/lib/storage/boto_base.py", line 48, in _fetch_part
boto_key.get_contents_to_file(f, headers={'Range': brange})
File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1578, in get_contents_to_file
response_headers=response_headers)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1418, in get_file
query_args=None)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 1471, in _get_file_internal
for bytes in self:
File "/usr/local/lib/python2.7/dist-packages/boto/s3/key.py", line 365, in next
data = self.resp.read(self.BufferSize)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 415, in read
return httplib.HTTPResponse.read(self, amt)
File "/usr/lib/python2.7/httplib.py", line 567, 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/ssl.py", line 232, in recv
return self.read(buflen)
File "/usr/local/lib/python2.7/dist-packages/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/socket.py", line 169, in wait_read
switch_result = get_hub().switch()
File "/usr/local/lib/python2.7/dist-packages/gevent/hub.py", line 164, in switch
return greenlet.switch(self)
SSLError: The read operation timed out
<Greenlet at 0x1f914b0: <bound method ParallelKey._fetch_part of <storage.boto_base.ParallelKey object at 0x1f78f90>>('/tmp/tmp0Yl1No', 2, 105797734, 158696600)> failed with SSLError
@nicgrayson
Copy link

I'm seeing this issue too. Did you find a fix?

@billumina
Copy link

@nicgrayson did you ever figure out why you were getting this stack trace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment