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
- duplicates
-
PYTHON-912 Auth can fail while connecting to replset with recovering members
-
- Closed
-
-
PYTHON-926 ReadPreference.NEAREST can route operations to arbiters in PyMongo 3.0
-
- Closed
-