org.skife.jdbi.v2.exceptions.UnableToObtainConnectionException: java.sql.SQLTransientConnectionException: generic-jdbc-query-executor - Connection is not available, request timed out after 27780ms.

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

,
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 GitHub by buremba
, 1 year ago
java.sql.SQLTransientConnectionException: generic-jdbc-query-executor - Connection is not available, request timed out after 27780ms.
via GitHub by brettwooldridge
, 1 year ago
java.sql.SQLTransientConnectionException: rakam@jdbc:postgresql://rakam-prod-rakam.chmo5weps9zn.us-east-1.rds.amazonaws.com:5432/rakam - Connection is not available, request timed out after 135328ms.
via Google Groups by Tetet, 5 months ago
io.airlift.dbpool.SqlTimeoutException: Could not acquire a connection within 300000 msec
via GitHub by erikburgess
, 1 year ago
java.sql.SQLException: Connection Error: network timeout reached
via Stack Overflow by Unknown author, 2 years ago
com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host 129.21.208.42, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on
via GitHub by drcrallen
, 1 year ago
java.sql.SQLException: Cannot create JDBC driver of class 'org.apache.derby.jdbc.ClientDriver' for connect URL 'jdbc:derby:memory:druidTest95a2ba02711d4cff92eb4505d254ec72'
org.skife.jdbi.v2.exceptions.UnableToObtainConnectionException: java.sql.SQLTransientConnectionException: generic-jdbc-query-executor - Connection is not available, request timed out after 27780ms.
at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:548)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:186)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)
at org.rakam.analysis.JDBCPoolDataSource.getConnection(JDBCPoolDataSource.java:73)
at org.skife.jdbi.v2.DataSourceConnectionFactory.openConnection(DataSourceConnectionFactory.java:36)
at org.skife.jdbi.v2.DBI.open(DBI.java:212)
at org.rakam.ui.user.WebUserService.getUser(WebUserService.java:631)
at org.rakam.ui.user.WebUserHttpService.me(WebUserHttpService.java:297)
at org.rakam.server.http.JsonParametrizedRequestHandler.handleInternal(JsonParametrizedRequestHandler.java:126)
at org.rakam.server.http.JsonParametrizedRequestHandler.handle(JsonParametrizedRequestHandler.java:93)
at org.rakam.server.http.RouteMatcher.handle(RouteMatcher.java:59)
at org.rakam.server.http.HttpServerHandler.channelRead(HttpServerHandler.java:75)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:147)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

4 times, 4 months ago
3 times, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
31 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.