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

connect fails silently and intermittently when connecting to MongoDB version 3.0.8

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 2.2.34
    • None
    • None
    • Windows

    Description

      When connecting to MongoDB 3.0.8, occassionally the call to MongoClient.connect will fail silently. The callback will never get invoked. I've traced it and it appears internally that the same thing is happening when the driver attempts to authenticate with the database. Reverting to 2.2.33 seems to solve the problem. Happy to provide more information.

      It appears it may be a timing issue, because adding delays (or breakpoints) while debugging seems to make the problem much less frequent.

      Attachments

        Issue Links

          Activity

            People

              matt.broadstone@mongodb.com Matt Broadstone
              joe.enzminger Joe Enzminger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: