eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.47k stars 315 forks source link

Broken Pipe Error with boto.connect_s3 and host='s3.amazonaws.com' for non-default AWS region #86

Closed amsb closed 9 years ago

amsb commented 10 years ago

I'm unable to deploy to S3 on us-west-2 because boto.connect_s3 in deployment/s3/engine.py explicitly sets host to s3.amazonaws.com which causes Broken Pipe Errors. Leaving host unset in this call solves the problem (by presumably letting boto auto-set the correct host), at least for boto 2.28.0 on my system. See related at https://github.com/boto/boto/issues/621

SohailKh commented 9 years ago

try removing your bucket policy under permissions in bucket properties.

jakealstad commented 9 years ago

I am still having this exact issue. The deployment always hangs on a file and eventually times out.

screen shot 2015-07-08 at 10 32 20 am