[Bug]: getUrl SdkClientException Unable to execute Timeout waiting for connection
Maintainers usually reply within 2 days
@scmacdon is already working on this.
Since Feb 25, 2025.
Assessment
This issue has not been assessed yet.
Description
Expected behavior
Unable to execute HTTP request: Timeout waiting for connection from pool
com.amazonaws.SdkClientException: Unable to execute HTTP request: Timeout waiting for connection from pool
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleRetryableException(AmazonHttpClient.java:1207)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1153)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:802)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:770)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:744)
at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:704)
at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:686)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:550)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:530)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5062)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5008)
at com.amazonaws.services.s3.AmazonS3Client.access$300(AmazonS3Client.java:394)
at com.amazonaws.services.s3.AmazonS3Client$PutObjectStrategy.invokeServiceCall(AmazonS3Client.java:5950)
at com.amazonaws.services.s3.AmazonS3Client.uploadObject(AmazonS3Client.java:1812)
at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1772)
at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1710)
at jrx.anyservice.user.service.service.impl.UserImageInfoServiceImpl.uploadImg(UserImageInfoServiceImpl.java:295)
at jrx.anyservice.user.service.service.impl.UserImageInfoServiceImpl$$FastClassBySpringCGLIB$$2a48557.invoke()
at org.springframework.cglib.proxy
Actual behavior
I have configured the connection pool, and after the program runs for a period of time, it will report a timeout for obtaining connections,I called the method of obtaining temporary links, which can also cause upload errors after an error occurs。
Steps to reproduce
I don't know how to solve it. The version 1.12.692 I am using cannot be upgraded anymore due to the old service
Logs / stacktrace (if applicable)
Which SDK were you using?
Java
Which OS were you using?
Linux
SDK version
1.12.692
OS version
No response
- Dominant language
- Java
- Stars
- 10.5k
- Forks
- 5.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 30
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from awsdocs/aws-doc-sdk-examples
-
[Enhancement]: Add Go (v2) example: Converse API with extended/adaptive thinking (Bedrock Runtime)May be free again @brmur claimed this 79 days ago, and no pull request is open. OpenGo-v2 New example request
awsdocs/aws-doc-sdk-examples#8093 · 1 assignee ·
Maintainers usually reply within 2 days
-
Modify ListObjectVersions to also show how do list versions of only a single objectMay be free again @brmur claimed this 163 days ago, and no pull request is open. OpenTask
awsdocs/aws-doc-sdk-examples#7914 · 1 assignee ·
Maintainers usually reply within 2 days
-
Create Rust DynamoDB GetItem single action exampleMay be free again @brmur claimed this 171 days ago, and no pull request is open. OpenNew example request Rust
awsdocs/aws-doc-sdk-examples#7913 · 1 assignee ·
Maintainers usually reply within 2 days
-
[Bug]: CloudWatch Logs Large Query Scenario - Offset BugMay be free again @rlhagerm claimed this 198 days ago, and no pull request is open. Open
awsdocs/aws-doc-sdk-examples#7873 · 1 assignee ·
Maintainers usually reply within 2 days
-
[Enhancement]: Update S3 Go code examples to use feature/s3/transfermanager instead of deprecated feature/s3/managerMay be free again @brmur claimed this 198 days ago, and no pull request is open. Open
awsdocs/aws-doc-sdk-examples#7872 · 3 comments · 1 assignee ·
Maintainers usually reply within 2 days
All issues in awsdocs/aws-doc-sdk-examples
Similar issues
-
面渣逆袭Spring事务传播机制勘误Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
itwanger/toBeBetterJavaer#218 ·
-
Markdown and Astro language servers do not start when the project path contains a non-ASCII character or a spacePossibly taken @RoiSoleil claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-wildwebdeveloper/wildwebdeveloper#2277 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
johanhaleby/occurrent#1462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
SasanLabs/VulnerableApp#912 ·
Maintainers usually reply within 1 day
-
area/build area/events area/storage area/storage/kafkasql area/storage/sql
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Apicurio/apicurio-registry#11079 ·
Maintainers usually reply within 1 day