Skip to content

Unable to complete transfer: Connection pool shut down #1629

@graveend

Description

@graveend

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

No one assigned

    Labels

    investigatingThis 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions