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
It is likely your master node failed and you are trying to read from a slave node but by default (and a safety practice such as data synchronization) your reading source is set to primary node only.
You can attach options at the end of your connection string such as
?readPreference=secondary which will use the secondary connection