Skip to content
timkay edited this page Dec 31, 2014 · 1 revision

By default, the curl option --cipher RC4-SHA is added to the curl command line. To disable this option, use --default-curl-cipher.

Scott Deardorff writes:

I found an issue with the aws perl script and wanted to find out if you had any additional info. It's actually a bug with curl that's called from within AWS. When doing a get of larger files from S3, I intermittently get the following error:

curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 

This seems to be the manifestation of this bug: http://curl.haxx.se/mail/tracker-2014-03/0040.html

If I change the following line (around 876)

$curl ||= "curl";

to

$curl ||= "curl --cipher 'RC4-SHA'";

It appears to resolve the issue and I don't see the above error anymore.

I realize this is not a "final" solution, but wanted to get your thoughts on the best way to resolve this and get any fixes needed into the aws script.