[JAVA-2818] can not connect Created: 20/Mar/18  Updated: 08/Feb/23  Resolved: 20/Mar/18

Status: Closed
Project: Java Driver
Component/s: Authentication
Affects Version/s: 3.6.3
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kerwin Stanley Assignee: Ross Lawley
Resolution: Duplicate Votes: 0
Labels: driver
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongo atlas


Issue Links:
Backports
backported by JAVA-2817 Can not connect via my app Closed

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

}}]



 Comments   
Comment by Ross Lawley [ 20/Mar/18 ]

Duplicate of JAVA-2817

Generated at Thu Feb 08 08:58:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.