2

从 4 月 10 日到昨天,我们在 Heroku 上的 Rails 应用程序似乎无法使用 Paperclip 将图像上传到 Amazon S3。我收到以下消息:

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 状态页面不报告任何损坏,Amazon S3 状态页面也不报告。

有谁知道 Heroku、S3 或它们之间的交互可能与此相关的任何变化?或者非常微妙、看似无关的事情可能会破坏我们的设置?

该应用程序在 Heroku 上的 Cedar 堆栈上运行,使用 Rails 3.2.1、Paperclip 3.0.1、aws-s3 0.6.2 和 aws-sdk 1.3.9。我们的 Gemfile.lock 在这里

4

1 回答 1

4

bundle update成功了。Paperclip、Aws 和 Heroku gems 最近都进行了小更新。

于 2012-04-14T13:08:48.073 回答