Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5391

PoolClearedError randomly appears

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      Summary

      I'm currently experiencing a frustrating "bug". I've this error randomly appearing :
      PoolClearedError [MongoPoolClearedError]: Connection pool for ....com:27017 was cleared because another operation failed with: "connection <monitor> to [...::]:27017 timed out"

      Environment

      • Nodejs v18.15.0
      • mongoose v7.3.1
      • mongodb v6.0.6

      -Debian 11

      • Replica set with 2 nodes (self hosted)

      How to Reproduce

      • I have sadly no idea about how to reproduce :/ My server is clearly not overloaded :
        and the bug randomly pop out.

      Additional Background

      I'm running my code as usual, and this error comes sometimes after 5 our 6 hours, sometimes 2 minutes after i start my process

      Attachments

        Activity

          People

            Unassigned Unassigned
            cjbjohan.maupetit@laposte.net Johan Maupetit
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: