在上传图片的腐败才S3,生产。 (carrierwave,EngineYard的) [英] Image corruption on upload to s3, production only. (carrierwave, engineyard)

查看:181
本文介绍了在上传图片的腐败才S3,生产。 (carrierwave,EngineYard的)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用carrierwave上传图片到Amazon S3。这对发展的伟大工程,但是当我推到我的服务器(EngineYard的云试行)没有。

I am using carrierwave to upload images to amazon s3. This works great on development, but not when I push it to my server (engineyard cloud trial).

进程工作正常,没有错误抛出,并且链接归还。然而,实际的图像损坏,不知。

The process works fine, no errors are thrown, and a link is given back. However, the actual image is corrupted, somehow.

下面是一个,例如: https://开头s3.amazonaws.com/ZenBucket/uploads/goal/photo/30/guinness-toucan.jpg

谁能告诉我它是如何被损坏,或者有什么可以做什么呢?

Can anyone tell me how it's being corrupted, or what could be doing it?

编辑:总是在部署后的第一个图片上传的尝试似乎失败500,但错误并不在日志中显示。不知道这是相应和。

The first image upload attempt after deploying always seems to fail 500, but the error doesn't show in the log. Not sure if that's relevent.

EDIT2:似乎也与蜻蜓宝石,而不是carrierwave发生

Also seems to be occurring with dragonfly gem instead of carrierwave.

感谢

推荐答案

目前似乎是一个问题,在JRuby上(可能以https)gzip的COM pression已得到解决。如果有人需要的版本号从我的筹码,我可以效劳。

There appears to have been an issue with gzip compression on jRuby (possibly with https) that has been resolved. If anyone needs version numbers from my stack, I can oblige.

这篇关于在上传图片的腐败才S3,生产。 (carrierwave,EngineYard的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆