This error usually occurs when attempting to read data from a set of secondary servers. Set the driver's ReplicaSet connection property in the connection string to the set of secondary servers (https://cdn.cdata.com/help/DGH/cloud/default.htm#RSBMongodb_p_ReplicaSet), and also set the driver's SlaveOK connection property to True. This should allow you to connect and read data from secondary servers.
This topic has been closed for comments
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.