在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。
答案 0 :(得分:4)
bundle update
完成了这个伎俩。 Paperclip,Aws和Heroku宝石最近都有一个小小的更新。