Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-931

pymongo tries to login at arbiter and fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 3.0, 3.0.1
    • None
    • None
    • None

    Description

      Setup: 3x MongoDB Node, on of them is arbiter, the others are primary/secondary.

      Client (running on primary/secondary host)
      > connection = MongoClient(replicaset='myreplicatset')
      > db = connection['admindb']
      > db.authenticate('admindb',pw)

      This fails sometimes, as MongoClient chooses to connect to the arbiter host which refuses to let the client in.

      Versions:
      > pymongo: 3.0.1
      > mongodb: 3.0.2

      Attachments

        Issue Links

          Activity

            People

              bernie@mongodb.com Bernie Hackett
              AlfonsName AZ [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: