-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
investigatingThis issue is being investigated and/or work is in progress to resolve the issue.This issue is being investigated and/or work is in progress to resolve the issue.response-requestedWaiting on additional info or feedback. Will move to "closing-soon" in 5 days.Waiting on additional info or feedback. Will move to "closing-soon" in 5 days.
Description
I am using transfermanager to upload file to s3. But on calling waitForCompletion, it is throwing the below exception:
Unable to complete transfer: Connection pool shut down
Here is my code:
@Bean public TransferManager s3TransferManager(AmazonS3 amazonS3) { return TransferManagerBuilder.standard().withS3Client(amazonS3).build(); }
Upload xfer = s3TransferManager.upload(bucketName, keyPrefix+"/test_file.csv", file); try { xfer.waitForCompletion(); } catch (AmazonClientException | InterruptedException e) { e.printStackTrace(); }
Exception:
com.amazonaws.AmazonClientException: Unable to complete transfer: Connection pool shut down
Thanks!
Metadata
Metadata
Assignees
Labels
investigatingThis issue is being investigated and/or work is in progress to resolve the issue.This issue is being investigated and/or work is in progress to resolve the issue.response-requestedWaiting on additional info or feedback. Will move to "closing-soon" in 5 days.Waiting on additional info or feedback. Will move to "closing-soon" in 5 days.