-
Type: Bug
-
Resolution: Duplicate
-
Priority: 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
- 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