I\'m getting a strange error in my node.js app
not master and slaveOk=false code 13435
I\'m doing a findOne query using mongoose 4.0.2 hitting a
I solved the problem(happened by connecting to a instance of mongoDB on IBM) with
mongoose.connect('mongodb://host1:port1/?replicaSet=rsName');
From: https://mongoosejs.com/docs/connections.html#replicaset_connections