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

Can not connect via my app

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 3.6.3
    • None
    • Authentication
    • None
    • mongoldb Atlas

    Description

      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" }

      }}]

      Attachments

        Issue Links

          Activity

            People

              ross@mongodb.com Ross Lawley
              kerwinfs kerwin stanley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: