Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR UPLOADING. NO 32 #226

Closed
jshorwitz opened this issue Sep 24, 2013 · 2 comments
Closed

ERROR UPLOADING. NO 32 #226

jshorwitz opened this issue Sep 24, 2013 · 2 comments

Comments

@jshorwitz
Copy link

WARNING: Upload failed: /2013-09-01-00.gz ([Errno 104] Connection reset by peer)
WARNING: Retrying on lower speed (throttle=0.01)
WARNING: Waiting 6 sec...
ERROR: Upload of '/media/newdrive/2013-09-01-00.gz' failed too many times. Skipping that file.

@havramar
Copy link

Had the same issue with ~14MB file.

Running s3cmd with --multipart-chunk-size-mb=5 helped.

I'm using s3cmd 1.6.0

@prurigro
Copy link

prurigro commented Jun 21, 2017

Setting mutlipart-chunk-size-mb=5 fixes uploads of files larger than 5mb, but files smaller than 5mb will fail a bunch of times before the upload succeeds, and they upload twice for some reason when they do work

Here's an example of a file smaller than 5mb:

upload: 'video.mp4' -> 's3://bucket/folder/video.mp4'  [1 of 1]
  327680 of 3554157     9% in    2s   137.97 kB/s  failed
WARNING: Upload failed: /folder/video.mp4 ([Errno 104] Connection reset by peer)
WARNING: Retrying on lower speed (throttle=0.00)
WARNING: Waiting 3 sec...
upload: 'video.mp4' -> 's3://bucket/folder/video.mp4'  [1 of 1]
 3554157 of 3554157   100% in   31s   111.63 kB/s  done
upload: 'video.mp4' -> 's3://bucket/folder/video.mp4'  [1 of 1]
 1572864 of 3554157   100% in   12s   118.68 kB/s
Public URL of the object is: http://bucket.s3.amazonaws.com/folder/video.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants