簡體   English   中英

耙回形針:在Heroku上刷新-超時

[英]Rake paperclip:refresh on Heroku - Time out

更改回形針的某些配置時,我的附件出現問題-> 回形針配置| 舊附件

答案是: 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.

我不知道如何解決這個問題,有人知道嗎?

您是否嘗試過定義AWS的區域? 在我將歐洲區域用於AWS時,還沒有定義它,就已經見過。

有一篇很好的文章深入探討了這個問題。 值得一試。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM