Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3196

Mongodb 4.4: Got MongoAuthenticationException : Server sent an invalid nonce.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.11.2
    • Affects Version/s: 2.11.0
    • Component/s: Connectivity
    • None

      I'm working in a Windows environment, using mongo server version 4.4 (tried with local windows version and linux version in docker).

      If you take open source project https://github.com/ProximoSrl/NStore and set environment variables NSTORE_MONGODB to a valid connection value mongodb://admin:mypassword@localhost/nstore?authSource=admin you can verify that some of the tests fails with

      MongoAuthenticationException : Server sent an invalid nonce.
      

      The error is reproducible, it always happen.

      No error with 4.0 mongodb server.

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            alkampfer@nablasoft.com Gian Maria Ricci
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: