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 GitHub by sachins50
, 3 months ago
Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='dashboarduser', source='dashboard', password=<hidden>, mechanismProperties={}}
via GitHub by manjunath2008
, 2 years ago
Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='db', source='dashboard', password=<hidden>, mechanismProperties={}}
via GitHub by emoshaya
, 2 years ago
Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='db', source='dashboard', password=<hidden>, mechanismProperties={}}
via GitHub by jimzucker
, 2 years ago
Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='db', source='dashboard', password=, mechanismProperties={}}
com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=SCRAM-SHA-1, userName='dashboarduser', source='dashboard', password=<hidden>, mechanismProperties={}} at com.mongodb.connection.SaslAuthenticator.authenticate(SaslAuthenticator.java:61)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.InternalStreamConnectionInitializer.authenticateAll(InternalStreamConnectionInitializer.java:99)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.InternalStreamConnectionInitializer.initialize(InternalStreamConnectionInitializer.java:44)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:115)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:127)[mongo-java-driver-3.0.2.jar!/:na] at java.lang.Thread.run(Unknown Source)[na:1.8.0_144]Caused by: com.mongodb.MongoCommandException: Command failed with error 18: 'Authentication failed.' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "Authentication failed.", "code" : 18, "codeName" : "AuthenticationFailed" } at com.mongodb.connection.CommandHelper.createCommandFailureException(CommandHelper.java:168)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.CommandHelper.receiveCommandResult(CommandHelper.java:123)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.CommandHelper.executeCommand(CommandHelper.java:32)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.SaslAuthenticator.sendSaslStart(SaslAuthenticator.java:95)[mongo-java-driver-3.0.2.jar!/:na] at com.mongodb.connection.SaslAuthenticator.authenticate(SaslAuthenticator.java:45)[mongo-java-driver-3.0.2.jar!/:na] ... 5 more