com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message

Stack Overflow | user1221612 | 3 months ago
  1. 0

    mongodb queries are very slow

    Stack Overflow | 3 months ago | user1221612
    com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message
  2. 0

    User and support list for MongoDB, a NoSQL database. ()

    gmane.org | 11 months ago
    com.mongodb.MongoSocketReadTimeoutException: Timeout while receiving message}, caused by {java.net.SocketTimeoutException: Read timed out}}]

    Root Cause Analysis

    1. com.mongodb.MongoSocketReadTimeoutException

      Timeout while receiving message

      at com.mongodb.connection.InternalStreamConnection.translateReadException()
    2. MongoDB Java Driver
      DBCollection.updateMulti
      1. com.mongodb.connection.InternalStreamConnection.translateReadException(InternalStreamConnection.java:475)
      2. com.mongodb.connection.InternalStreamConnection.receiveMessage(InternalStreamConnection.java:226)
      3. com.mongodb.connection.UsageTrackingInternalConnection.receiveMessage(UsageTrackingInternalConnection.java:105)
      4. com.mongodb.connection.DefaultConnectionPool$PooledConnection.receiveMessage(DefaultConnectionPool.java:438)
      5. com.mongodb.connection.WriteCommandProtocol.receiveMessage(WriteCommandProtocol.java:262)
      6. com.mongodb.connection.WriteCommandProtocol.execute(WriteCommandProtocol.java:104)
      7. com.mongodb.connection.UpdateCommandProtocol.execute(UpdateCommandProtocol.java:64)
      8. com.mongodb.connection.UpdateCommandProtocol.execute(UpdateCommandProtocol.java:37)
      9. com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:168)
      10. com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:289)
      11. com.mongodb.connection.DefaultServerConnection.updateCommand(DefaultServerConnection.java:143)
      12. com.mongodb.operation.UpdateOperation.executeCommandProtocol(UpdateOperation.java:76)
      13. com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:142)
      14. com.mongodb.operation.BaseWriteOperation$1.call(BaseWriteOperation.java:134)
      15. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:232)
      16. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:223)
      17. com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:134)
      18. com.mongodb.operation.BaseWriteOperation.execute(BaseWriteOperation.java:61)
      19. com.mongodb.Mongo.execute(Mongo.java:827)
      20. com.mongodb.Mongo$2.execute(Mongo.java:810)
      21. com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:333)
      22. com.mongodb.DBCollection.updateImpl(DBCollection.java:495)
      23. com.mongodb.DBCollection.update(DBCollection.java:455)
      24. com.mongodb.DBCollection.update(DBCollection.java:432)
      25. com.mongodb.DBCollection.update(DBCollection.java:522)
      26. com.mongodb.DBCollection.updateMulti(DBCollection.java:552)
      26 frames
    3. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:555)
      2. java.util.TimerThread.run(Timer.java:505)
      2 frames