Has anyone been having problems with aws-s3’s S3Object.exists?, or S3Object.request(:head, …) timing out when passed keys which do not exist? (I’m running aws-s3 0.6.2, ruby 1.9.2). Using S3Object.find(‘thenonexistantkey’, bucket) raises a NoSuchKey exception as expected. Is this an issue on amazon’s side?
Has anyone been having problems with aws-s3’s S3Object.exists?, or S3Object.request(:head, …) timing out when
Share
aws-s3 gem does not set the timeout to reasonable values
You can do it by monkeypatching its
create_connectionmethodCreate a file
config/initializers/aws_s3_connection_monkey_patch.rb: