在4月10日到昨天之间的某个地方,使用Paperclip上传到Amazon S3的图像似乎在Heroku上的Rails应用程序中被破坏了 . 我收到以下消息:
A AWS::S3::Errors::RequestTimeout occurred in topics#update:
Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
vendor/bundle/ruby/1.9.1/gems/aws-sdk-1.3.9/lib/aws/core/client.rb:277:in `return_or_raise'
我查看了过去10天内的代码更改,看看我们是否更改了Paperclip代码或Gemfile附近的任何内容,但我没有找到任何内容 . Heroku status page没有报告任何损坏,Amazon S3 status page也没有 .
有没有人知道对Heroku,S3或它们之间的相互作用的任何变化都可能与此有关?或者非常微妙,看似无关的事情可能会打破我们的设置?
应用程序在Heroku上的Cedar堆栈上运行,使用Rails 3.2.1,Paperclip 3.0.1,aws-s3 0.6.2和aws-sdk 1.3.9 . 我们的Gemfile.lock是here .
1 回答
bundle update
做了伎俩 . Paperclip,Aws和Heroku宝石最近都有一个小小的更新 .