s3cmd failed too many times

前端 未结 15 1891
梦如初夏
梦如初夏 2020-12-04 11:51

I used to be a happy s3cmd user. However recently when I try to transfer a large zip file (~7Gig) to Amazon S3, I am getting this error:

$> s3cmd put thef         


        
15条回答
  •  猫巷女王i
    2020-12-04 12:31

    I experienced the same issue, it turned out to be a bad bucket_location value in ~/.s3cfg.

    This blog post lead me to the answer.

    If the bucket you’re uploading to doesn’t exist (or you miss typed it ) it’ll fail with that error. Thank you generic error message. - See more at: http://jeremyshapiro.com/blog/2011/02/errno-32-broken-pipe-in-s3cmd/#sthash.ZbGwj5Ex.dpuf

    After inspecting my ~/.s3cfg is saw that it had:

    bucket_location = Sydney
    

    Rather than:

    bucket_location = ap-southeast-2
    

    Correcting this value to use the proper name(s) solved the issue.

提交回复
热议问题