Authenticate failed with keyId = 0

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Unknown
    • None
    • Affects Version/s: 1.5.0
    • Component/s: Authentication
    • None
    • Environment:
      Running in centos based docker image
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When I use the 1.5 go driver to connect with mongod for operation, the authentication fails occasionally, but it doesn't appear on the 1.0 go driver. Could it be a driver compatibility issue? The error message is as follows: 

      err connection() error occured during connection handshake:
      auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1":
      (KeyNotFound) Cache Reader No keys found for HMAC that is valid for time: { ts: Timestamp(1620053128, 26) } with id: 0

        1. image-1620390240863-1.png
          image-1620390240863-1.png
          331 kB
        2. image-1620390240863.png
          image-1620390240863.png
          331 kB
        3. dbstress.zip
          6.07 MB

              Assignee:
              Matt Dale
              Reporter:
              qi zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: