S3 can be spotty, I've definitely seen it as well. If you look
through the code base you may see an :idempotent option passed to
request in many cases (for instance on s3 file uploads). This tells
excon that if it gets back responses that don't match the expected
status code it should feel free to retry up to 3 times in order to
mitigate intermittent issues. It was actually added largely because
of s3 responding inconsistently, and it seems to do a good job of
making this transparent to the user. If you are still seeing issues
on some other commands its possible that there is still room for
improvement (or perhaps some more things should be flagged
idempotent). Its a little hard to sort all that out from just viewing
the code, but the actual usage of the idempotent flag can be see in
excon/lib/excon/connection I believe.