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

AWS S3 Multipart upload restarting when reaching 12MB of loaded data #949

Closed
adolfosrs opened this issue Mar 30, 2016 · 3 comments
Closed
Labels
guidance Question that needs advice or information.

Comments

@adolfosrs
Copy link

I'm kind of having a hard time looking into this issue that i have posted on stackoverflow.

Dont know if posting it here is the right approach but any help will be awesome.

@chrisradek
Copy link
Contributor

@adolfosrs
Can you take a look at your network connections through your browser when uploading a file? I'd like to know if any of the requests to S3 are timing out.

By default, the SDK has a timeout period of 2 minutes. If the connection is slow enough that a single part can't finish uploading within 2 minutes, then the SDK will attempt to retry uploading it. This could also happen if the connection is unstable/dropping enough packets that the SDK has to retry uploading a part.

It's possible to turn off the timeout, or change it.
Using the example in your stackoverflow post, you could turn it off by doing the following:

var bucket = new AWS.S3({
  apiVersion: '2006-03-01', 
  httpOptions: {timeout: 0}, 
  params: {Bucket: $scope.creds.bucket}
});

Let me know what you find out!

@adolfosrs
Copy link
Author

@chrisradek This was exactly the problem. Thanks for the reply!

@lock
Copy link

lock bot commented Sep 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

3 participants