Errno::EPIPE(管道破裂)和AWS::S3::ExceptionClassClash当尝试混合heroku,回



我正在尝试在heroku上使用回形针设置Amazon S3。我的机器一切正常。我从我的机器上传到S3没有任何问题。我把我的代码推到heroku,看到了两个问题:

AWS::S3::ExceptionClassClash (The exception class you tried to create (`AWS::S3::NoSuchBucket') exists and is not an exception)
2011-08-17T05:40:14+00:00 app[web.1]: Errno::EPIPE (Broken pipe)

我不明白为什么我的本地机器没有同样的问题。两者之间的一切都是完全一样的(我从我的git仓库中拉出并推送到heroku…在我的机器上,一切都很好,在heroku上,它出错了)。

您必须像这样添加配置:http://blog.heroku.com/archives/2009/4/7/config-vars/

再次检查创建桶的区域

你可以在桶的属性中看到它:如果它与美国标准不同,可能不适合你。

尝试在US-standard上创建一个新的bucket,看看它是否工作。

相关内容

  • 没有找到相关文章

最新更新