java.sql.SQLTransientConnectionException

HikariPool-1 - Connection is not available, request timed out after 40000ms.

Samebug tips1

This might be cause due to an overload in your database accesses. Try to implement a queue or using an Executor to access the database server.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web133

  • HikariPool-1 - Connection is not available, request timed out after 40000ms.
  • via Liferay Issues by Brett Swaim, 4 months ago
    HikariPool-1 - Connection is not available, request timed out after 30000ms.
  • via GitHub by rizagp
    , 11 months ago
    HikariPool-1 - Connection is not available, request timed out after 30000ms.
  • Stack trace

    • java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 40000ms. at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:196)[HikariCP-2.4.6.jar:na] at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)[HikariCP-2.4.6.jar:na] at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)[HikariCP-2.4.6.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_65] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_65] at net.bull.javamelody.JdbcWrapper$3.invoke(JdbcWrapper.java:805)[javamelody-core-1.60.0.jar:1.60.0] at net.bull.javamelody.JdbcWrapper$DelegatingInvocationHandler.invoke(JdbcWrapper.java:286)[javamelody-core-1.60.0.jar:1.60.0] at com.sun.proxy.$Proxy7.getConnection(Unknown Source)[na:na] at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:316)[HikariCP-2.4.6.jar:na] at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:173)[HikariCP-2.4.6.jar:na] at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:443)[HikariCP-2.4.6.jar:na] at com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:66)[HikariCP-2.4.6.jar:na] at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:568)[HikariCP-2.4.6.jar:na] at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:561)[HikariCP-2.4.6.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 4 months ago
    40 times, 1 year ago
    Unknown user
    Once, 2 weeks ago
    Unknown user
    Once, 2 weeks ago
    Unknown user
    Once, 2 weeks ago
    23 more bugmates