-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoError: not master and slaveOk=false #50
Comments
Bad configuration on my part, sorry. |
Any chance you could reveal what the bad configuration happened to be? |
This exact issue is happening. What was the configuration? |
Bad configuration = Braindead idea to use Mongo. |
for those who have the same issue, its a MongoDB misconfiguration.. you guys need to configure it in Replica Set mode. There is an official tutorial explaining how to do that: https://docs.mongodb.com/manual/tutorial/deploy-replica-set/ |
I agree with @sampaiodiego answer, it was a ReplicaSet misconfiguration. I unfortunately don't remember the details, as this notification was buried under all the other ones. I'll try to replicate it if I have the time to do so, but cannot promise. |
I'm trying to make RocketChat work with a MongoDB replicaset, but I get the following error:
Looks like Rocket.Chat don't allow to read from a replica. Would it be possible to change this behaviour?
The text was updated successfully, but these errors were encountered: