You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running "aws_s3:staging" (aws_s3) task
Uploading to https://s3-ap-southeast-1.amazonaws.com/client-connect-win/
................................................................Fatal error: Failed to upload src/img/bg.png with bucket client-connect-win
Error: Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.�
grunt returned exit code 1action grunt failed
My s3 uploads fail intermittently because of this on this config:
Hi there!
I've never run into this error before unfortunately. How many files are you uploading? Have you tried changing the uploadConcurrency to something smaller (like 10). I'm suspecting there's a very high number of connections at the same time and maybe AWS doesn't like it?
This issue (although it's for the PHP SDK) seems to say it might be related to concurrency as well: aws/aws-sdk-php#29
Worth a try. Let me know it it worked.
Good spot! I've updated the SDK to the latest version. I did some extensive testing (have a look at the Gruntfile to see what I've done) and I found that with concurrencies over 100 you start running into EMFILE errors (that's for over 300) and ENOTFOUND errors (over 100).
My s3 uploads fail intermittently because of this on this config:
The file it decided to error out on wasn't even particularly big only 5kb. Any idea on how I can avoid that?
The text was updated successfully, but these errors were encountered: