Java driver doesn't read the authentication level of the server

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.11.1
    • None
    • Major Change
    • None
    • None
    • None
    • None
    • None
    • None

      I'm configuring the driver to authenticate to a mongoDB server.
      The mongoDB server doesn't require authentication. While the driver tries to authenticate it gets this error:
      com.mongodb.CommandFailureException:

      { "serverUsed" : "/127.0.0.1:27115" , "errmsg" : "auth fails" , "ok" : 0.0}

      Since the mongoDB default option is not to authenticate most of our db's doesn't require any authentication. Supporting this will allow us to gradually add authentication to our cluster without any down time.

            Assignee:
            Unassigned
            Reporter:
            Noam Almog
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: