耙纸夹:刷新Heroku - 超时

时间:2014-01-10 16:21:01

标签: ruby-on-rails heroku ruby-on-rails-4 timeout paperclip

在更改Paperclip的某些配置时,我的附件出现问题 - > Paperclip configurations | Old Attachments

答案是:rake paperclip:refresh CLASS=Screen

在Localhost上,它运行得很好。但是在部署到Heroku和S3时,我收到了一个警告,耙子被中止了!

rake aborted!
Your socket connection to the server was not read from or written to within the 
timeout  period. Idle connections will be closed.

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.

我不知道如何解决这个问题,任何人都有想法?

1 个答案:

答案 0 :(得分:0)

您是否尝试过为AWS定义区域?我以前在使用欧洲地区进行AWS时已经看到了这一点,并且没有定义它。

有一个good article就此问题深入探讨。值得一试。