com.mongodb.MongoException$Network: can't call something : /127.0.0.1:27017/eventStore

JIRA | Soren Mathiasen | 4 years ago
  1. 0

    Keep getting this error when iterating over a query result com.mongodb.MongoException$Network: can't call something : /127.0.0.1:27017/eventStore at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:291) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:256) at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:289) at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:274) at com.mongodb.DBCursor._check(DBCursor.java:368) at com.mongodb.DBCursor._hasNext(DBCursor.java:459) at com.mongodb.DBCursor.hasNext(DBCursor.java:484) at eventstore.EventStore.getEvents(EventStore.java:72) at projections.TaskProjection.repopulate(TaskProjection.java:21) at controllers.Application.listRegistrations(Application.java:63) at Routes$$anonfun$routes$1$$anonfun$apply$3$$anonfun$apply$4.apply(routes_routing.scala:52) at Routes$$anonfun$routes$1$$anonfun$apply$3$$anonfun$apply$4.apply(routes_routing.scala:52) at play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086) at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33) at play.core.j.JavaAction$class.apply(JavaAction.scala:74) at play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085) at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) at play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126) at play.utils.Threads$.withContextClassLoader(Threads.scala:17) at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125) at play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115) at akka.actor.Actor$class.apply(Actor.scala:318) at play.core.ActionInvoker.apply(Invoker.scala:113) at akka.actor.ActorCell.invoke(ActorCell.scala:626) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197) at akka.dispatch.Mailbox.run(Mailbox.scala:179) at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516) at akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259) at akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) at akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479) at akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) Caused by: java.io.EOFException at org.bson.io.Bits.readFully(Bits.java:48) at org.bson.io.Bits.readFully(Bits.java:33) at org.bson.io.Bits.readFully(Bits.java:28) at com.mongodb.Response.<init>(Response.java:40) at com.mongodb.DBPort.go(DBPort.java:124) at com.mongodb.DBPort.call(DBPort.java:74) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:282) ... 30 more

    JIRA | 4 years ago | Soren Mathiasen
    com.mongodb.MongoException$Network: can't call something : /127.0.0.1:27017/eventStore
  2. 0

    Not fetching data from Mongo DB

    GitHub | 3 years ago | hiteshvanjani
    com.mongodb.MongoException$Network: Read operation to server localhost/127.0.0.1:27017 failed on database local
  3. 0

    River not connect to replica secondary instace after master is disconnected.

    GitHub | 2 years ago | nai0om
    com.mongodb.MongoException$Network: Read operation to server localhost:27017 failed on database local
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error: cascading.tuple.TupleException: unable to read from input identifier: 'unknown'

    Google Groups | 2 years ago | Pruzam
    cascading.tuple.TupleException: unable to read from input identifier: 'unknown'
  6. 0

    GitHub comment 68#28503153

    GitHub | 3 years ago | jasonpolites
    org.springframework.dao.DataAccessResourceFailureException: can't call something : localhost/127.0.0.1:27017/loopy; nested exception is com.mongodb.MongoException$Network: can't call something : localhost/127.0.0.1:27017/loopy

    2 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.io.EOFException

      No message provided

      at org.bson.io.Bits.readFully()
    2. MongoDB Java Driver
      DBCursor.hasNext
      1. org.bson.io.Bits.readFully(Bits.java:48)
      2. org.bson.io.Bits.readFully(Bits.java:33)
      3. org.bson.io.Bits.readFully(Bits.java:28)
      4. com.mongodb.Response.<init>(Response.java:40)
      5. com.mongodb.DBPort.go(DBPort.java:124)
      6. com.mongodb.DBPort.call(DBPort.java:74)
      7. com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:282)
      8. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:256)
      9. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:289)
      10. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:274)
      11. com.mongodb.DBCursor._check(DBCursor.java:368)
      12. com.mongodb.DBCursor._hasNext(DBCursor.java:459)
      13. com.mongodb.DBCursor.hasNext(DBCursor.java:484)
      13 frames
    3. eventstore
      EventStore.getEvents
      1. eventstore.EventStore.getEvents(EventStore.java:72)
      1 frame
    4. projections
      TaskProjection.repopulate
      1. projections.TaskProjection.repopulate(TaskProjection.java:21)
      1 frame
    5. controllers
      Application.listRegistrations
      1. controllers.Application.listRegistrations(Application.java:63)
      1 frame
    6. Unknown
      Routes$$anonfun$routes$1$$anonfun$apply$3$$anonfun$apply$4.apply
      1. Routes$$anonfun$routes$1$$anonfun$apply$3$$anonfun$apply$4.apply(routes_routing.scala:52)
      2. Routes$$anonfun$routes$1$$anonfun$apply$3$$anonfun$apply$4.apply(routes_routing.scala:52)
      2 frames
    7. Play
      ActionInvoker$$anonfun$receive$1.apply
      1. play.core.Router$HandlerInvoker$$anon$4$$anon$1.invocation(Router.scala:1086)
      2. play.core.j.JavaAction$$anon$1.call(JavaAction.scala:33)
      3. play.core.j.JavaAction$class.apply(JavaAction.scala:74)
      4. play.core.Router$HandlerInvoker$$anon$4$$anon$1.apply(Router.scala:1085)
      5. play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126)
      6. play.core.ActionInvoker$$anonfun$receive$1$$anonfun$6.apply(Invoker.scala:126)
      7. play.utils.Threads$.withContextClassLoader(Threads.scala:17)
      8. play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:125)
      9. play.core.ActionInvoker$$anonfun$receive$1.apply(Invoker.scala:115)
      9 frames
    8. Akka Actor
      Actor$class.apply
      1. akka.actor.Actor$class.apply(Actor.scala:318)
      1 frame
    9. Play
      ActionInvoker.apply
      1. play.core.ActionInvoker.apply(Invoker.scala:113)
      1 frame
    10. Akka Actor
      ForkJoinExecutorConfigurator$MailboxExecutionTask.exec
      1. akka.actor.ActorCell.invoke(ActorCell.scala:626)
      2. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:197)
      3. akka.dispatch.Mailbox.run(Mailbox.scala:179)
      4. akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:516)
      4 frames
    11. akka-actor
      ForkJoinWorkerThread.run
      1. akka.jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:259)
      2. akka.jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
      3. akka.jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1479)
      4. akka.jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      4 frames