Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-64773

"codeName": "NetworkInterfaceExceededTimeLimit", "errmsg": "Couldn't get a connection within the time limit

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • None
    • None
    • None
    • ALL

    Description

      Below issue we faced where VMs were accessible. But Mongodb connection was failing and no application was able to connect during that duration. We had to restart one of the VM shard. Though the issue resolved after an hour , we need to find RCA on this.

      After checking we found this "NetworkInterfaceExceededTimeLimit" error in mongos log, which I believe has been taken cared in Mongo 4.0 version.
      We are using Mongo version 4.4.7 currently.

      1.Error message received in application:
      A.
      com.mongodb.MongoBulkWriteException:Bulk write operation error on server . Write errors: [BulkWriteError\{index=0, code=202, message='Write results unavailable from :: caused by :: Couldn't get a connection within the time limit of 181ms', details={ }}].

      B.
      'message 'Encountered non-retryable error during query :: caused by :: Couldn't get a connection within the time limit of 650ms' on server

      2.Error message in Mongos logs:

      {
      "s": "I",
      "c": "NETWORK",
      "id": 4712102,
      "ctx": "conn11471844",
      "msg": "Host failed in replica set",
      "attr": {
      "replicaSet": "rs1",
      "host": "host:port",
      "error":

      { "code": 202, "codeName": "NetworkInterfaceExceededTimeLimit", "errmsg": "Couldn't get a connection within the time limit of 16ms" }

      ,
      "action": {
      "dropConnections": false,
      "requestImmediateCheck": false,
      "outcome":

      { "host": "host:port", "success": false, "errorMessage": "NetworkInterfaceExceededTimeLimit: Couldn't get a connection within the time limit of 16ms" }

      }
      }
      }

      ===================================================

      Attachments

        Activity

          People

            eric.sedor@mongodb.com Eric Sedor
            debalina.saha@accenture.com Debalina Saha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: