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
Sometimes S3TransferManager does not actually download the complete file and it does not marks that as failed transfer instead it marks as complete transfer, it does not even throws any exception.
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
Should download the complete file, if it does not downloads the complete file should trigger as failed download or throw the corresponded exception.
Current Behavior
Does not downloads the complete file and does not triggers as failed download instead marks as download completed without throwing any exception.
First I thought that it's happening because of the assuming request's token expiration, since its set to 3600 secs (1 hour), i thought that when the download starts then the token expires and somehow it does fails the transfer but still marks as completed.
So based on that idea, i've created the session right before every transfer action, so it still did not help and problem still occurred.
However, when I have checked the logs i couldn't be able to see much but this is the last part thats been downloaded, rest of the parts are not downloaded at all. [DEBUG] [2024-09-26T15:39:52Z] [00007fbe09e24b38] [S3MetaRequest] - id=0x7fbe07ff2300: 132 out of 998 parts have completed.
I'm attaching the log file, since it was very big i'm adding the part that its stopped downloading at the part of 132.
Describe the bug
Sometimes S3TransferManager does not actually download the complete file and it does not marks that as failed transfer instead it marks as complete transfer, it does not even throws any exception.
Regression Issue
Expected Behavior
Should download the complete file, if it does not downloads the complete file should trigger as failed download or throw the corresponded exception.
Current Behavior
Does not downloads the complete file and does not triggers as failed download instead marks as download completed without throwing any exception.
First I thought that it's happening because of the assuming request's token expiration, since its set to 3600 secs (1 hour), i thought that when the download starts then the token expires and somehow it does fails the transfer but still marks as completed.
So based on that idea, i've created the session right before every transfer action, so it still did not help and problem still occurred.
However, when I have checked the logs i couldn't be able to see much but this is the last part thats been downloaded, rest of the parts are not downloaded at all.
[DEBUG] [2024-09-26T15:39:52Z] [00007fbe09e24b38] [S3MetaRequest] - id=0x7fbe07ff2300: 132 out of 998 parts have completed.
I'm attaching the log file, since it was very big i'm adding the part that its stopped downloading at the part of 132.
svhf.log
Reproduction Steps
We're using STSClient to gather temporary AWS Session credentials with assuming to the corresponding role and then doing the download operation
`
`
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.28.6
AWS CRT version used
0.31.1
JDK version used
21
Operating System and version
Alpine Linux v3.20
The text was updated successfully, but these errors were encountered: