Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6117

SlaveOk Query fails with auth error even after logging in

    XMLWordPrintableJSON

Details

    • ALL

    Description

      Error message from running the attached script:

       
       m31001| Mon Jun 18 15:57:30 [conn8] assertion 10057 unauthorized db:test ns:test.user lock type:0 client:127.0.0.1 ns:test.user query:{}
       m31001| Mon Jun 18 15:57:30 [conn8] { $err: "unauthorized db:test ns:test.user lock type:0 client:127.0.0.1", code: 10057 }
      Mon Jun 18 15:57:30 uncaught exception: error: {
      	"$err" : "unauthorized db:test ns:test.user lock type:0 client:127.0.0.1",
      	"code" : 10057
      }

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              randolph@mongodb.com Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: