Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2020

Authenticate failed with keyId = 0

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

      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.png
          331 kB
          qi zhang
        2. image-1620390240863-1.png
          331 kB
          qi zhang

            Assignee:
            matt.dale@mongodb.com Matt Dale
            Reporter:
            qiangzhanghnu@gmail.com qi zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: