Mongo::Error::OperationFailure (not authorized on [db] to execute command....(13))

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.2.6, 2.2.7
    • Affects Version/s: 2.2.3
    • Component/s: None
    • None
    • Environment:
      Mongoid 5.1.1
      MongoDB 3.2.1 with wiredtiger engine on Compose.io
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Our production server on Heroku is sporadically getting

      Mongo::Error::OperationFailure (not authorized on [db] to execute command....(13))
      

      It happens just randomly. I am using all default options in mongoid.yml.

      It's affecting our production server, so any help would be greatly appreciated.

      Thanks,

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Yang Chung
            Votes:
            4 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: