java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.

GitHub | darkweaver87 | 3 months ago
  1. 0

    At lot of users using gitbucket at the same time make it lock

    GitHub | 3 months ago | darkweaver87
    java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms.
  2. 0

    HikariCP 2.4.3 and 2.4.7 have some Exception

    GitHub | 4 weeks ago | dengly
    org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  3. 0

    HikariCP - connection is not available

    Stack Overflow | 1 year ago | dfche
    java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 1003ms.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HikariCP as JNDI resource in Tomcat

    GitHub | 2 months ago | stockstatus
    java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 40000ms.
  6. 0

    getConnection timeouts

    Google Groups | 8 months ago | Nadav Samet
    java.sql.SQLTransientConnectionException: db - Connection is not available, request timed out after 2007ms.

  1. balintn 1 times, last 2 months ago
  2. tfr 1 times, last 6 months ago
  3. rp 3 times, last 6 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLTransientConnectionException

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

    at com.zaxxer.hikari.pool.HikariPool.getConnection()
  2. HikariCP-java6
    HikariDataSource.getConnection
    1. com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:196)
    2. com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147)
    3. com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)
    3 frames
  3. SLICK
    JdbcBackend$BaseSession.withTransaction
    1. scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$3.createConnection(JdbcBackend.scala:47)
    2. scala.slick.jdbc.JdbcBackend$BaseSession.conn$lzycompute(JdbcBackend.scala:397)
    3. scala.slick.jdbc.JdbcBackend$BaseSession.conn(JdbcBackend.scala:397)
    4. scala.slick.jdbc.JdbcBackend$BaseSession.withTransaction(JdbcBackend.scala:420)
    4 frames
  4. scala.slick.backend
    DatabaseComponent$DatabaseDef$class.withSession
    1. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:54)
    2. scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:54)
    3. scala.slick.backend.DatabaseComponent$DatabaseDef$class.withSession(DatabaseComponent.scala:34)
    3 frames
  5. SLICK
    JdbcBackend$DatabaseFactoryDef$$anon$3.withSession
    1. scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$3.withSession(JdbcBackend.scala:46)
    1 frame
  6. scala.slick.backend
    DatabaseComponent$DatabaseDef$class.withTransaction
    1. scala.slick.backend.DatabaseComponent$DatabaseDef$class.withTransaction(DatabaseComponent.scala:54)
    1 frame
  7. SLICK
    JdbcBackend$DatabaseFactoryDef$$anon$3.withTransaction
    1. scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$3.withTransaction(JdbcBackend.scala:46)
    1 frame
  8. gitbucket.core.servlet
    TransactionFilter.doFilter
    1. gitbucket.core.servlet.TransactionFilter.doFilter(TransactionFilter.scala:28)
    1 frame
  9. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
    12. org.eclipse.jetty.server.Server.handle(Server.java:524)
    13. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
    14. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
    15. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
    16. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    17. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
    17 frames
  10. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
    3. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
    3 frames
  11. Jetty
    QueuedThreadPool$2.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
    2 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame