Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2817

Can not connect via my app

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.3
    • Component/s: Authentication
    • None
    • Environment:
      mongoldb Atlas

      Timed out after 30000 ms while waiting for a server that matches com.mongodb.Mongo$4@683b93dd. Client view of cluster state is {type=REPLICA_SET, servers=[{address=kxnbis-shard-00-01-hmp7e.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='kerwinfs', source='admin', password=<hidden>, mechanismProperties={}}}, caused by {com.mongodb.MongoCommandException: Command failed with error 8000: 'bad auth Authentication failed.' on server kxnbis-shard-00-01-hmp7e.mongodb.net:27017. The full response is

      { "ok" : 0, "errmsg" : "bad auth Authentication failed.", "code" : 8000, "codeName" : "AtlasError" }

      }}, {address=kxnbis-shard-00-00-hmp7e.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='kerwinfs', source='admin', password=<hidden>, mechanismProperties={}}}, caused by {com.mongodb.MongoCommandException: Command failed with error 8000: 'bad auth Authentication failed.' on server kxnbis-shard-00-00-hmp7e.mongodb.net:27017. The full response is

      { "ok" : 0, "errmsg" : "bad auth Authentication failed.", "code" : 8000, "codeName" : "AtlasError" }

      }}, {address=kxnbis-shard-00-02-hmp7e.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='kerwinfs', source='admin', password=<hidden>, mechanismProperties={}}}, caused by {com.mongodb.MongoCommandException: Command failed with error 8000: 'bad auth Authentication failed.' on server kxnbis-shard-00-02-hmp7e.mongodb.net:27017. The full response is

      { "ok" : 0, "errmsg" : "bad auth Authentication failed.", "code" : 8000, "codeName" : "AtlasError" }

      }}]

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            stanleyk@kxsolutions.com Kerwin Stanley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: