HikariCP connection pool exhausted

java.sql.SQLTransientConnectionException
Javadoc
The subclass of {@link SQLException} for the SQLState class value ' 08', or under vendor-specified conditions. This indicates that the connection operation that failed might be able to succeed if the operation is retried without any application-level changes.

Please consult your driver vendor documentation for the vendor-specified conditions for which this Exception may be thrown. @since 1.6

at com.zaxxer.hikari.pool.HikariPool.createTimeoutException
(source)
at com.zaxxer.hikari.pool.HikariPool.getConnection
(source)
at com.zaxxer.hikari.pool.HikariPool.getConnection
(source)
at com.zaxxer.hikari.HikariDataSource.getConnection
(source)
3 frames hidden

Typical Exception Messages

  1. HikariPool-1 - Connection is not available, request timed out after 30000ms.
  2. springHikariCP - Connection is not available, request timed out after 12001ms.
  3. springHikariCP - Connection is not available, request timed out after 12000ms.
  4. springHikariCP - Connection is not available, request timed out after 12011ms.
  5. springHikariCP - Connection is not available, request timed out after 12003ms.
  6. springHikariCP - Connection is not available, request timed out after 12002ms.
  7. HikariPool-1 - Connection is not available, request timed out after 20000ms.
  8. HikariPool-1 - Connection is not available, request timed out after 42734ms.
  9. db-pool - Connection is not available, request timed out after 33289ms.
  10. rakam@jdbc:postgresql://rakam-prod-rakam.chmo5weps9zn.us-east-1.rds.amazonaws.com:5432/rakam - Connection is not available, request timed out after 135328ms.

Origin

HikariPool.createTimeoutException() has thrown a SQLTransientConnectionException

java.sql.SQLTransientConnectionException
com.zaxxer.hikari.pool.HikariPool.createTimeoutException
48Web pages

Specific cases

Solution

rahsan, 2 months ago

The error indicates that the HikariCP connection pool has been exhausted and no further connections to the datasource can be created. Please read this post for more information

External results for this pattern (44)

  1. michaelhixsonvia GitHub1 week ago
    HikariPool-1 - Connection is not available, request timed out after 30000ms.
    Show stack trace
  2. AodXvia GitHub1 month ago
    HikariPool-1 - Connection is not available, request timed out after 20000ms.
    Show stack trace
  3. YuiFnvia GitHub1 month ago
    HikariPool-1 - Connection is not available, request timed out after 926646ms.
    Show stack trace
  4. laudylcpvia GitHub1 month ago
    HikariPool-1 - Connection is not available, request timed out after 60000ms.
    Show stack trace
  5. afrin216via GitHub2 months ago
    HikariPool-.net1f0098bdce20acf7fa739bd69020b909bfe205733ffa620eaa8ac336e68209bc - Connection is not available, request timed out after 30000ms.
    Show stack trace
  6. AodXvia GitHub2 months ago
    HikariPool-1 - Connection is not available, request timed out after 20000ms.
    Show stack trace
  7. penaivanalejandrovia GitHub2 months ago
    mainPool - Connection is not available, request timed out after 30004ms.
    Show stack trace
  8. jnrbovia GitHub3 months ago
    HikariPool-1 - Connection is not available, request timed out after 30006ms.
    Show stack trace
  9. yooniksvia GitHub3 months ago
    HikariPool-1 - Connection is not available, request timed out after 30000ms.
    Show stack trace
  10. du-itvia GitHub3 months ago
    myCP - Connection is not available, request timed out after 30001ms.
    Show stack trace