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

pymongo tries to login at arbiter and fails

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0, 3.0.1
    • Component/s: None
    • None

      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

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

              Created:
              Updated:
              Resolved: