-
Notifications
You must be signed in to change notification settings - Fork 549
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
Retry strategy for TransferUtility #576
Comments
Any update on this issue..? |
@CodingInfinite Sorry for the delayed response. What exception were you getting for your upload and how many times was the upload retried? Can you post the exception message and stacktrace? |
The application retried three times when the error occurs. Also, one more thing I got during upload when I cancel the upload after that when I start again the uploading it never uploads until I restart my application. That's how I cancel the upload.
|
To cancel the upload, you can do |
Yes, first I do the same what you suggested but canceling the upload with id cancels successfully but never able to upload again until I restart my application. In my Activity onCreate method, I start the TransferUtilty service.
I have this scenario where I need to upload multiple songs to Amazon S3 and below is my method for upload songs.
That's how I cancel the upload.
The above cancelUpload method successfully cancel all the upload songs but after cancelation when I again call my uploadParty method it never starts uploading. |
Any feedback on this....? |
@CodingInfinite Sorry for the delayed response. Once the upload is cancelled, you cannot resume it again. You need to start a new upload. However if you want to resume an upload, you need to pause it by calling
|
Tracking this issue in #616. So closing this issue. |
honorMaxErrorRetryInClientConfig must be configurated TRUE on RetryPolicy |
AmazonS3Client is not using my ClientConfiguartion. I'm uploading some songs to S3 and on slow Internet my songs are not uploded and failed several times. Although in my ClientConfiguration I have 0 maxRetry but don't know why it retries multiple time.
I'm using AWS S3 SDK and dependency version is 2.8.+
Device Information (please complete the following information):
My Code For ClientConfiguration
And the AmazonS3Client
The text was updated successfully, but these errors were encountered: