Upcoming End-of-Support
Describe the bug
We are using AWS SDK for interacting with AWS DynamoDB.
Using com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTableMapper class and .save(entity) method to save objects to DynamoDB.
The application runs fine for several days, and then suddenly starts throwing below exceptions
exception: 'SdkClientException (Unable to execute HTTP request: Timeout waiting for connection from pool)' that was caused by: org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:316)
The only way to get rid of it is by restarting the application.
SDK version: 1.12.777
Regression Issue
Expected Behavior
The expectation is to not throw the SDKClientException
Current Behavior
exception: 'SdkClientException (Unable to execute HTTP request: Timeout waiting for connection from pool)' that was caused by: org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:316)
Reproduction Steps
Using the provided methods in DynamoDBTableMapper class to save, delete, query
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
1.12.777
JDK version used
openjdk version "21.0.1" 2023-10-17 LTS
Operating System and version
AWS ECS Fargate 1.4.0