Skip to content

Instantly share code, notes, and snippets.

@jjb
Created October 8, 2013 02:09
Show Gist options
  • Save jjb/6878300 to your computer and use it in GitHub Desktop.
Save jjb/6878300 to your computer and use it in GitHub Desktop.
If you are uploading something to S3 using the aws-sdk gem (https://github.com/aws/aws-sdk-ruby) and getting timeout errors (AWS::S3::Errors::RequestTimeout: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.), do this!
AWS.config(:http_open_timeout => 99999, :http_read_timeout => 99999)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment