Skip to content

Connection timeouts since version 2.6.7 or 2.6.6 #1628

@michaelmejaeger

Description

@michaelmejaeger

Describe the bug

We upgraded the aws-advanced-jdbc-wrapper from version 2.6.5 to 2.6.7. Since then, we have the problem that a connection times out when the Aurora Serverless database we are using, is not up. This was not a problem before. We are using the following parameters for connections:

  • wrapperPlugins=initialConnection
  • openConnectionRetryTimeoutMs=180000
  • loginTimeout=40000
  • connectTimeout=40000

Before, we had lower values for the timeouts but increased them, because we assumed that this would fix the problem.

Expected Behavior

If the Aurora Serverless database is not up, we expect that the connection attempt is not immediately aborted but a retry happens for the timeout specified.

What plugins are used? What other connection properties were set?

wrapperPlugins=initialConnection&openConnectionRetryTimeoutMs=180000&loginTimeout=40000&connectTimeout=40000

Current Behavior

It seems like that the connection runs quickly into a timeout.

Reproduction Steps

We are using that in the Maven DependencyCheck plugin.

Possible Solution

No response

Additional Information/Context

No response

The AWS Advanced JDBC Wrapper version used

2.6.7

JDK version used

OpenJDK 64-Bit Server VM Temurin-17.0.17+10 (build 17.0.17+10, mixed mode, sharing)

Operating System and version

Ubuntu 24.04.3 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions