PyMongo fails to read from the secondary in a replica set setup when the primary is down

Thank you,
This really was the case. My secondary was not recognised as a ‘secondary’ , but ‘other’ as I have added it with option ‘hidden’. Once I created changed this configuration , pymongo started working as expected.

1 Like