Anyone else getting timeouts with the s3 module during GETs? I’d say it times out for me 10% of the time while running on aws instances.
failed: [10.3.4.135] => {"failed": true, "parsed": false}
SUDO-SUCCESS-smbvbxjgzdnvggmahklufcwhbryjrumu
Traceback (most recent call last):
File "/home/ec2-user/.ansible/tmp/ansible-tmp-1418338558.98-89431558153682/s3", line 2272, in <module>
main()
File "/home/ec2-user/.ansible/tmp/ansible-tmp-1418338558.98-89431558153682/s3", line 371, in main
download_s3file(module, s3, bucket, obj, dest)
File "/home/ec2-user/.ansible/tmp/ansible-tmp-1418338558.98-89431558153682/s3", line 244, in download_s3file
key.get_contents_to_filename(dest)
File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 1705, in get_contents_to_filename
response_headers=response_headers)
File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 1643, in get_contents_to_file
response_headers=response_headers)
File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 1475, in get_file
query_args=None)
File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 1528, in _get_file_internal
for bytes in self:
File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 386, in next
data = self.resp.read(self.BufferSize)
File "/usr/lib/python2.6/site-packages/boto/connection.py", line 412, in read
return http_client.HTTPResponse.read(self, amt)
File "/usr/lib64/python2.6/httplib.py", line 548, in read
s = self.fp.read(amt)
File "/usr/lib64/python2.6/socket.py", line 383, in read
data = self._sock.recv(left)
File "/usr/lib64/python2.6/ssl.py", line 215, in recv
return self.read(buflen)
File "/usr/lib64/python2.6/ssl.py", line 136, in read
return self._sslobj.read(len)
ssl.SSLError: The read operation timed out
Killed by signal 1.