play.api.Configuration$$anon$1

Configuration error[Cannot connect to database [ default]]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web95

  • via GitHub by flashback2k14
    , 8 months ago
    Configuration error[Cannot connect to database [default]]
  • Configuration error[Cannot connect to database [default]]
  • Configuration error[Cannot connect to database [default]]
  • Stack trace

    • play.api.Configuration$$anon$1: Configuration error[Cannot connect to database [ default]] at play.api.Configuration$.configError(Configuration.scala:154) at play.api.Configuration.reportError(Configuration.scala:806) at play.api.db.DefaultDBApi$$anonfun$connect$1.apply(DefaultDBApi.scala:48) at play.api.db.DefaultDBApi$$anonfun$connect$1.apply(DefaultDBApi.scala:42) at scala.collection.immutable.List.foreach(List.scala:381) at play.api.db.DefaultDBApi.connect(DefaultDBApi.scala:42) at play.api.db.DBApiProvider.get$lzycompute(DBModule.scala:72) at play.api.db.DBApiProvider.get(DBModule.scala:62) at play.api.db.DBApiProvider.get(DBModule.scala:58) at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81) Caused by: play.api.Configuration$$anon$1: Configuration error[Exception during pool initialization: HikariPool-1 - Connection is not available, request timed o ut after 30001ms.] at play.api.Configuration$.configError(Configuration.scala:154) at play.api.PlayConfig.reportError(Configuration.scala:996) at play.api.db.HikariCPConnectionPool.create(HikariCPModule.scala:70) at play.api.db.PooledDatabase.createDataSource(Databases.scala:199) at play.api.db.DefaultDatabase.dataSource$lzycompute(Databases.scala:123) at play.api.db.DefaultDatabase.dataSource(Databases.scala:121) at play.api.db.DefaultDatabase.getConnection(Databases.scala:142) at play.api.db.DefaultDatabase.getConnection(Databases.scala:138) at play.api.db.DefaultDBApi$$anonfun$connect$1.apply(DefaultDBApi.scala:44) at play.api.db.DefaultDBApi$$anonfun$connect$1.apply(DefaultDBApi.scala:42) Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Except ion during pool initialization: HikariPool-1 - Connection is not available, requ est timed out after 30001ms. at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:526) at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:136) at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:71) at play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:58) at play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:54) at scala.util.Try$.apply(Try.scala:192) at play.api.db.HikariCPConnectionPool.create(HikariCPModule.scala:54) at play.api.db.PooledDatabase.createDataSource(Databases.scala:199) at play.api.db.DefaultDatabase.dataSource$lzycompute(Databases.scala:123) at play.api.db.DefaultDatabase.dataSource(Databases.scala:121) Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection i s not available, request timed out after 30001ms. at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:195) at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147) at com.zaxxer.hikari.pool.HikariPool.initializeConnections(HikariPool.java:510) at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:136) at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:71) at play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:58) at play.api.db.HikariCPConnectionPool$$anonfun$1.apply(HikariCPModule.scala:54) at scala.util.Try$.apply(Try.scala:192) at play.api.db.HikariCPConnectionPool.create(HikariCPModule.scala:54) at play.api.db.PooledDatabase.createDataSource(Databases.scala:199)

    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
    Once, 4 months ago
    Once, 9 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    9 more bugmates