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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 2.11.0
    • 2.11.2
    • Connectivity
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: