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

Execution exception[[ConnectionNotInitialized: MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.']]]

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 web171

  • via Google Groups by Srinivas Chavali, 6 months ago
    Execution exception[[ConnectionNotInitialized: MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.']]]
  • via Stack Overflow by Lucas Soares
    , 3 months ago
    Execution exception[[SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 37892ms.]]
  • via Google Groups by Timothy Sandberg, 6 months ago
    Execution exception[[QueryTimeoutException: Could not open connection]]
  • Stack trace

    • play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[ConnectionNotInitialized: MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.']]] at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:269) at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:195) at play.api.GlobalSettings$class.onError(GlobalSettings.scala:160) at play.api.DefaultGlobal$.onError(GlobalSettings.scala:188) at play.api.http.GlobalSettingsHttpErrorHandler.onServerError(HttpErrorHandler.scala:98) at play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:99) at play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:98) at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344) at scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:343) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) Caused by: reactivemongo.core.errors.ConnectionNotInitialized: MongoError['Connection is missing metadata (like protocol version, etc.) The connection pool is probably being initialized.'] at reactivemongo.core.errors.ConnectionNotInitialized$.MissingMetadata(errors.scala:71) at reactivemongo.api.collections.GenericCollection$class.insert(genericcollection.scala:364) at reactivemongo.api.collections.bson.BSONCollection.insert(bsoncollection.scala:68) at com.byg.repository.MongoCouponRepo.saveCoupon(CouponRepo.scala:85) at com.byg.services.CouponServiceImpl$$anonfun$create$1.apply(CouponService.scala:80) at com.byg.services.CouponServiceImpl$$anonfun$create$1.apply(CouponService.scala:63) at controllers.CouponController$$anonfun$create$1.apply(CouponController.scala:69) at controllers.CouponController$$anonfun$create$1.apply(CouponController.scala:54) at play.api.mvc.Action$.invokeBlock(Action.scala:498) at play.api.mvc.Action$.invokeBlock(Action.scala:495)

    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