play.api.http.HttpErrorHandlerExceptions$$anon$1

Execution exception[[JedisConnectionException: Could not get a resource from the pool]]

Samebug tips1

Check for proxy misconfigurations and AWS issues.


rafaelrafael

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

Solutions on the web439

  • via Unknown by Dasun Nirmitha,
  • via Unknown by Unknown author,
  • Stack trace

    • play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[JedisConnectionException: Could not get a resource from the pool]] at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:265)[play_2.11-2.4.6.jar:2.4.6] at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:191)[play_2.11-2.4.6.jar:2.4.6] at play.api.GlobalSettings$class.onError(GlobalSettings.scala:179)[play_2.11-2.4.6.jar:2.4.6] at play.api.DefaultGlobal$.onError(GlobalSettings.scala:212)[play_2.11-2.4.6.jar:2.4.6] at play.api.http.GlobalSettingsHttpErrorHandler.onServerError(HttpErrorHandler.scala:94)[play_2.11-2.4.6.jar:2.4.6] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$9$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:151)[play-netty-server_2.11-2.4.6.jar:2.4.6] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$9$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:148)[play-netty-server_2.11-2.4.6.jar:2.4.6] at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)[scala-library-2.11.6.jar:na] at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:215)[scala-library-2.11.6.jar:na] at scala.util.Try$.apply(Try.scala:191)[scala-library-2.11.6.jar:na] at scala.util.Failure.recover(Try.scala:215)[scala-library-2.11.6.jar:na] at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324)[scala-library-2.11.6.jar:na] at scala.concurrent.Future$$anonfun$recover$1.apply(Future.scala:324)[scala-library-2.11.6.jar:na] at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)[scala-library-2.11.6.jar:na] at play.api.libs.iteratee.Execution$trampoline$.executeScheduled(Execution.scala:109)[play-iteratees_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:71)[play-iteratees_2.11-2.4.6.jar:2.4.6] at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40)[scala-library-2.11.6.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248)[scala-library-2.11.6.jar:na] at scala.concurrent.Promise$class.complete(Promise.scala:55)[scala-library-2.11.6.jar:na] at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153)[scala-library-2.11.6.jar:na] at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:23)[scala-library-2.11.6.jar:na] at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)[akka-actor_2.11-2.3.13.jar:na] at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)[akka-actor_2.11-2.3.13.jar:na] at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[scala-library-2.11.6.jar:na] at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[scala-library-2.11.6.jar:na] at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[scala-library-2.11.6.jar:na] at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[scala-library-2.11.6.jar:na] Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool at redis.clients.util.Pool.getResource(Pool.java:50)[jedis-2.8.0.jar:na] at redis.clients.jedis.JedisPool.getResource(JedisPool.java:99)[jedis-2.8.0.jar:na] at cache.JedisCache.getClusterKeyList(JedisCache.java:369)[classes/:na] at cache.JedisCache.deleteAllRecords(JedisCache.java:253)[classes/:na] at controllers.Application.index(Application.java:51)[classes/:na] at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$1$$anonfun$apply$1.apply(Routes.scala:95)[classes/:na] at router.Routes$$anonfun$routes$1$$anonfun$applyOrElse$1$$anonfun$apply$1.apply(Routes.scala:95)[classes/:na] at play.core.routing.HandlerInvokerFactory$$anon$4.resultCall(HandlerInvoker.scala:136)[play_2.11-2.4.6.jar:2.4.6] at play.core.routing.HandlerInvokerFactory$JavaActionInvokerFactory$$anon$14$$anon$3$$anon$1.invocation(HandlerInvoker.scala:127)[play_2.11-2.4.6.jar:2.4.6] at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:70)[play_2.11-2.4.6.jar:2.4.6] at play.http.DefaultHttpRequestHandler$1.call(DefaultHttpRequestHandler.java:20)[play_2.11-2.4.6.jar:2.4.6] at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:94)[play_2.11-2.4.6.jar:2.4.6] at play.core.j.JavaAction$$anonfun$7.apply(JavaAction.scala:94)[play_2.11-2.4.6.jar:2.4.6] 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 play.core.j.HttpExecutionContext$$anon$2.run(HttpExecutionContext.scala:40)[play_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:70)[play-iteratees_2.11-2.4.6.jar:2.4.6] at play.core.j.HttpExecutionContext.execute(HttpExecutionContext.scala:32)[play_2.11-2.4.6.jar:2.4.6] at scala.concurrent.impl.Future$.apply(Future.scala:31)[scala-library-2.11.6.jar:na] at scala.concurrent.Future$.apply(Future.scala:492)[scala-library-2.11.6.jar:na] at play.core.j.JavaAction.apply(JavaAction.scala:94)[play_2.11-2.4.6.jar:2.4.6] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:105)[play_2.11-2.4.6.jar:2.4.6] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4$$anonfun$apply$5.apply(Action.scala:105)[play_2.11-2.4.6.jar:2.4.6] at play.utils.Threads$.withContextClassLoader(Threads.scala:21)[play_2.11-2.4.6.jar:2.4.6] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:104)[play_2.11-2.4.6.jar:2.4.6] at play.api.mvc.Action$$anonfun$apply$1$$anonfun$apply$4.apply(Action.scala:103)[play_2.11-2.4.6.jar:2.4.6] at scala.Option.map(Option.scala:146)[scala-library-2.11.6.jar:na] at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:103)[play_2.11-2.4.6.jar:2.4.6] at play.api.mvc.Action$$anonfun$apply$1.apply(Action.scala:96)[play_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:524)[play-iteratees_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Iteratee$$anonfun$mapM$1.apply(Iteratee.scala:524)[play-iteratees_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:560)[play-iteratees_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Iteratee$$anonfun$flatMapM$1.apply(Iteratee.scala:560)[play-iteratees_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:536)[play-iteratees_2.11-2.4.6.jar:2.4.6] at play.api.libs.iteratee.Iteratee$$anonfun$flatMap$1$$anonfun$apply$13.apply(Iteratee.scala:536)[play-iteratees_2.11-2.4.6.jar:2.4.6] 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] ... 6 more Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketTimeoutException: connect timed out at redis.clients.jedis.Connection.connect(Connection.java:164)[jedis-2.8.0.jar:na] at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:80)[jedis-2.8.0.jar:na] at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1676)[jedis-2.8.0.jar:na] at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:87)[jedis-2.8.0.jar:na] at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)[commons-pool2-2.3.jar:2.3] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)[commons-pool2-2.3.jar:2.3] at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)[commons-pool2-2.3.jar:2.3] at redis.clients.util.Pool.getResource(Pool.java:48)[jedis-2.8.0.jar:na] ... 42 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method)[na:1.8.0_51] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)[na:1.8.0_51] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_51] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_51] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_51] at java.net.Socket.connect(Socket.java:589)[na:1.8.0_51] at redis.clients.jedis.Connection.connect(Connection.java:158)[jedis-2.8.0.jar:na]

    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

    musketyrmusketyr
    Once,
    Nikolay RybakNikolay Rybak
    5 times, last one
    poroszdporoszd
    6 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1193 more bugmates