com.mongodb.CommandFailureException: { "serverUsed" : "/****" , "errmsg" : "auth fails" , "ok" : 0.0} { "serverUsed" : "****" , "errmsg" : "auth fails" , "ok" : 0.0}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Pentaho BI Platform Tracking by Gregory, 1 year ago
{ "serverUsed" : "/****" , "errmsg" : "auth fails" , "ok" : 0.0} { "serverUsed" : "****" , "errmsg" : "auth fails" , "ok" : 0.0}
via Pentaho BI Platform Tracking by Gregory, 1 year ago
{ "serverUsed" : "/****" , "errmsg" : "auth fails" , "ok" : 0.0} { "serverUsed" : "****" , "errmsg" : "auth fails" , "ok" : 0.0}
com.mongodb.CommandFailureException: { "serverUsed" : "/****" , "errmsg" : "auth fails" , "ok" : 0.0}
at com.mongodb.CommandResult.getException(CommandResult.java:71)
at com.mongodb.CommandResult.throwOnError(CommandResult.java:110)
at com.mongodb.DBPort$NativeAuthenticator.authenticate(DBPort.java:549)
at com.mongodb.DBPort.authenticate(DBPort.java:322)
at com.mongodb.DBTCPConnector.authenticate(DBTCPConnector.java:621)
at com.mongodb.DBApiLayer.doAuthenticate(DBApiLayer.java:180)
at com.mongodb.DB.authenticateCommandHelper(DB.java:630)
at org.pentaho.mongo.wrapper.UsernamePasswordMongoClientWrapper.authenticateWithDb(UsernamePasswordMongoClientWrapper.java:101)
at org.pentaho.mongo.wrapper.UsernamePasswordMongoClientWrapper.getDb(UsernamePasswordMongoClientWrapper.java:89)
at org.pentaho.mongo.wrapper.NoAuthMongoClientWrapper.getCollection(NoAuthMongoClientWrapper.java:1104)
at org.pentaho.di.trans.steps.mongodbinput.MongoDbInput.init(MongoDbInput.java:248)
at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:62)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

3 times, 6 months ago
Once, 8 months ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.