New RightAws::S3Interface using shared connections mode
Closing HTTPS connection to s3.amazonaws.com:443, reason: 'end of file reached'
Rightscale::HttpConnection : server s3.amazonaws.com closed connection
Opening new HTTPS connection to s3.amazonaws.com:443
This is new since I upgraded from Ruby 1.9.2. The opening and closing of connections is really slowing things down.
Can anyone point me to what I need to do to fix the problem?
Using Ruby 1.9.3p385 I am using right_aws to access S3 as follows:
s3 = RightAws::S3.new(ENV['S3_KEY_ID'], ENV['S3_ACCESS_KEY'], {:multi_thread => true}) bucket = s3.bucket(bucket_name) keys = bucket.keys({'prefix' => "#{folder}/"}, true)
When I do this I get the following:
New RightAws::S3Interface using shared connections mode Closing HTTPS connection to s3.amazonaws.com:443, reason: 'end of file reached' Rightscale::HttpConnection : server s3.amazonaws.com closed connection Opening new HTTPS connection to s3.amazonaws.com:443
This is new since I upgraded from Ruby 1.9.2. The opening and closing of connections is really slowing things down.
Can anyone point me to what I need to do to fix the problem?
Thanks.