aws/aws-secretsmanager-jdbc

newer AWS SDK requires use of newer Apache http client version 4.5.9. Excessive warning logging

Closed this issue · 1 comments

If you use an AWS SDK newer than1.11.602, maybe 1.11.603, then the following message shows when a connection is retrieved using the secret manager JDBC Driver.


WARN [DbCnxPool connection adder] com.amazonaws.http.apache.utils.ApacheUtils - NoSuchMethodError was thrown when disabling normalizeUri. This indicates you are using an old version (u003c 4.5.8) of Apache http client. It is recommended to use http client version u003e= 4.5.9 to avoid the breaking change introduced in apache client 4.5.7 and the latency in exception handling. See aws/aws-sdk-java#1919 for more information

Hopefully, this is an easy to re-produce, and easy to fix bug. We've started seeing across all of our services that use this driver, as they have been upgraded to newer AWS SDK versions.

It looks like this was addressed with commit: 221472a. This commit was tested with SDK version 1.11.806. Closing this out in favor of that commit.