On my production server, I keep getting not authorized
error randomly. The following is my setup:
I don't have username and password configured in mongoid.yml
. I only have uri
configured to connect to remote database server.
I couldn't find anything that could explain/help what's going on.
It seems like upgrading to mongo 3.x fixes the problem, as this jira ticket shows.