Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    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.

Solutions on the web

via Google Groups by Nadav Samet, 1 year ago
db - Connection is not available, request timed out after 2018ms.
via Google Groups by Matt D, 1 year ago
Connection is not available, request timed out after 56765ms.
via GitHub by doom369
, 2 years ago
HikariPool-0 - Connection is not available, request timed out after 939707ms.
via Stack Overflow by Fabian S.
, 2 years ago
selfstanding-pool - Connection is not available, request timed out after 30000ms.
via GitHub by norbertpotocki
, 2 years ago
UserShardPool:jdbc:mysql://dbuser.mydomain.com:3306/UserShard - Connection is not available, request timed out after 38104ms.
java.sql.SQLTransientConnectionException: db - Connection is not available, 
request timed out after 2020ms.	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:196)	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)	at slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:12)	at slick.jdbc.JdbcBackend$BaseSession.conn$lzycompute(JdbcBackend.scala:415)	at slick.jdbc.JdbcBackend$BaseSession.conn(JdbcBackend.scala:414)	at slick.jdbc.JdbcBackend$SessionDef$class.prepareStatement(JdbcBackend.scala:297)	at slick.jdbc.JdbcBackend$BaseSession.prepareStatement(JdbcBackend.scala:407)	at slick.jdbc.StatementInvoker.results(StatementInvoker.scala:33)	at slick.jdbc.StatementInvoker.iteratorTo(StatementInvoker.scala:22)	at slick.jdbc.Invoker$class.foreach(Invoker.scala:48)	at slick.jdbc.StatementInvoker.foreach(StatementInvoker.scala:16)	at slick.jdbc.StreamingInvokerAction$class.run(StreamingInvokerAction.scala:22)	at slick.driver.JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.run(JdbcActionComponent.scala:218)	at slick.driver.JdbcActionComponent$QueryActionExtensionMethodsImpl$$anon$1.run(JdbcActionComponent.scala:218)	at slick.backend.DatabaseComponent$DatabaseDef$$anon$2.liftedTree1$1(DatabaseComponent.scala:237)	at slick.backend.DatabaseComponent$DatabaseDef$$anon$2.run(DatabaseComponent.scala:237)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)