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

Getting issue "ACCESS [conn298810] Unauthorized: not authorized on admin to execute command { endSessions: [ { id: UUID("acb7b7b0-5cfd-48d9-ae40-25e20d1ead63") } ], $db: "admin" }"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.6.19
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      I am using mongo-3.6.17 version and enabled the auth in that. With the auth, I am getting the below message contentiously in on the logs

      ACCESS [conn298810] Unauthorized: not authorized on admin to execute command { endSessions: [

      { id: UUID("acb7b7b0-5cfd-48d9-ae40-25e20d1ead63") }

      ], $db: "admin" }

      When I verified the mongo documentation, I have not seen any specific role to execute the endSession command. But in my user roles, I gave almost all high priority roles like dbAdmin, dbOwner ...etc but still getting the same issue. Is there any way to avoid this issue ?

        Attachments

        1. jira_logs_1.txt
          58 kB
        2. jira_logs.txt
          6 kB

          Issue Links

            Activity

              People

              Assignee:
              eric.sedor Eric Sedor
              Reporter:
              sivag9@gmail.com Sambasivarao Gajula
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: