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

Error in heartbeat

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.6.2, 3.6.3
    • Admin
    • None

    Description

      When ever i enable authanticate on a replication set of mongo db
      i get this error in the log Error in heartbeat

      response status: Unauthorized: not authorized on admin to execute command { replSetHeartbeat: "speech-set", configVersion: 1, hbv: 1, from: "spch-db3.wsldevops.com:27017", fromId: 2, term: 17, $replData: 1, $clusterTime: { clusterTime: Timestamp(1522069631, 1), signature: { hash: BinData(0, F45D0A73BE248B15A7DFCF05196EAFB2D585687F), keyId: 6529473634321301505 } }, $db: "admin" }
      2018-03-26T13:08:28.746+0000 I ACCESS   [conn14] Unauthorized: not authorized on admin to execute command { replSetHeartbeat: "speech-set", configVersion: 1, hbv: 1, from: "spch-db2.wsldevops.com:27017", fromId: 1, term: 17, $replData: 1, $clusterTime: { clusterTime: Timestamp(1522069631, 1), signature: { hash: BinData(0, F45D0A73BE248B15A7DFCF05196EAFB2D585687F), keyId: 6529473634321301505 } }, $db: "admin" }
      

      and the when i connect to mongo using a user as root it logs in as other and cant check status on other replications db.ismaster() is false and secondary false
      storage engine wiredTiger
      Please help

      Attachments

        Activity

          People

            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            rafim@ecb.co.il Rafi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: