play.api.UnexpectedException

Unexpected exception[SQLTimeoutException: Timeout after 1005ms of waiting for a connection.]

Solutions on the web279

  • Unexpected exception[SQLTimeoutException: Timeout after 1005ms of waiting for a connection.]
  • Unexpected exception[SQLTimeoutException: Timeout after 30000ms of waiting for a connection.]
  • via Google Groups by Grzegorz Kamola, 11 months ago
    Unexpected exception[SQLTimeoutException: Timeout after 1003ms of waiting for a connection.]
  • Stack trace

    • play.api.UnexpectedException: Unexpected exception[SQLTimeoutException: Timeout after 1005ms of waiting for a connection.] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(DevServerStart.scala:165)[play-server_2.11-2.4.4.jar:2.4.4] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(DevServerStart.scala:121)[play-server_2.11-2.4.4.jar:2.4.4] at scala.Option.map(Option.scala:146)[scala-library-2.11.6.jar:na] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply(DevServerStart.scala:121)[play-server_2.11-2.4.4.jar:2.4.4] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1.apply(DevServerStart.scala:119)[play-server_2.11-2.4.4.jar:2.4.4] at scala.util.Success.flatMap(Try.scala:230)[scala-library-2.11.6.jar:na] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:119)[play-server_2.11-2.4.4.jar:2.4.4] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1.apply(DevServerStart.scala:111)[play-server_2.11-2.4.4.jar:2.4.4] at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)[scala-library-2.11.6.jar:na] at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)[scala-library-2.11.6.jar:na] at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)[na:1.8.0_60] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)[na:1.8.0_60] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)[na:1.8.0_60] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)[na:1.8.0_60] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)[na:1.8.0_60] Caused by: java.sql.SQLTimeoutException: Timeout after 1005ms of waiting for a connection. at com.zaxxer.hikari.pool.BaseHikariPool.getConnection(BaseHikariPool.java:227)[HikariCP-java6-2.3.7.jar:na] at com.zaxxer.hikari.pool.BaseHikariPool.getConnection(BaseHikariPool.java:182)[HikariCP-java6-2.3.7.jar:na] at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:93)[HikariCP-java6-2.3.7.jar:na] at slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:12)[slick-hikaricp_2.11-3.1.0.jar:na] at play.api.db.slick.evolutions.internal.DBApiAdapter$DatabaseAdapter.getConnection(DBApiAdapter.scala:56)[play-slick-evolutions_2.11-1.1.0.jar:1.1.0] at play.api.db.slick.evolutions.internal.DBApiAdapter$DatabaseAdapter.getConnection(DBApiAdapter.scala:59)[play-slick-evolutions_2.11-1.1.0.jar:1.1.0] at play.api.db.evolutions.DatabaseEvolutions.databaseEvolutions(EvolutionsApi.scala:119)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.DatabaseEvolutions.scripts(EvolutionsApi.scala:97)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.DatabaseEvolutions.scripts(EvolutionsApi.scala:112)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.DefaultEvolutionsApi.scripts(EvolutionsApi.scala:77)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutions$$anonfun$play$api$db$evolutions$ApplicationEvolutions$$runEvolutions$1.apply$mcV$sp(ApplicationEvolutions.scala:50)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutions.withLock(ApplicationEvolutions.scala:98)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutions.play$api$db$evolutions$ApplicationEvolutions$$runEvolutions(ApplicationEvolutions.scala:49)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutions$$anonfun$start$1.apply(ApplicationEvolutions.scala:42)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutions$$anonfun$start$1.apply(ApplicationEvolutions.scala:42)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at scala.collection.immutable.Stream.foreach(Stream.scala:594)[scala-library-2.11.6.jar:na] at play.api.db.evolutions.ApplicationEvolutions.start(ApplicationEvolutions.scala:42)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutions.<init>(ApplicationEvolutions.scala:149)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutionsProvider.get$lzycompute(EvolutionsModule.scala:53)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutionsProvider.get(EvolutionsModule.scala:53)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at play.api.db.evolutions.ApplicationEvolutionsProvider.get(EvolutionsModule.scala:44)[play-jdbc-evolutions_2.11-2.4.0.jar:2.4.0] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)[guice-4.0.jar:na] at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:72)[guice-4.0.jar:na] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)[guice-4.0.jar:na] at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62)[guice-4.0.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)[guice-4.0.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)[guice-4.0.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)[guice-4.0.jar:na] at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)[guice-4.0.jar:na] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)[guice-4.0.jar:na] at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)[guice-4.0.jar:na] at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)[guice-4.0.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)[guice-4.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)[guice-4.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)[guice-4.0.jar:na] at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)[guice-4.0.jar:na] at com.google.inject.Guice.createInjector(Guice.java:96)[guice-4.0.jar:na] at com.google.inject.Guice.createInjector(Guice.java:73)[guice-4.0.jar:na] at com.google.inject.Guice.createInjector(Guice.java:62)[guice-4.0.jar:na] at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:126)[play_2.11-2.4.4.jar:2.4.4] at play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:93)[play_2.11-2.4.4.jar:2.4.4] at play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)[play_2.11-2.4.4.jar:2.4.4] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply(DevServerStart.scala:153)[play-server_2.11-2.4.4.jar:2.4.4] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1$$anonfun$2.apply(DevServerStart.scala:150)[play-server_2.11-2.4.4.jar:2.4.4] at play.utils.Threads$.withContextClassLoader(Threads.scala:21)[play_2.11-2.4.4.jar:2.4.4] at play.core.server.DevServerStart$$anonfun$mainDev$1$$anon$1$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(DevServerStart.scala:150)[play-server_2.11-2.4.4.jar:2.4.4] ... 14 more

    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

    Unknown user
    Once, 1 year ago
    5 times, 7 months ago
    Unknown user
    Once, 1 year ago