com.mongodb.MongoSecurityException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 247#167204304
    via GitHub by vignesh89
    ,
  • GitHub comment 314#184535672
    via GitHub by jimzucker
    ,
  • MongoDB elasticsearch mongolastic error
    via Stack Overflow by Nerotix
    ,
    • com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='jenkins', source='graylog', password=<hidden>, mechanismProperties={}} at com.mongodb.connection.SaslAuthenticator.wrapInMongoSecurityException(SaslAuthenticator.java:157)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator.access$200(SaslAuthenticator.java:37)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator$1.run(SaslAuthenticator.java:66)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator$1.run(SaslAuthenticator.java:44)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator.doAsSubject(SaslAuthenticator.java:162)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator.authenticate(SaslAuthenticator.java:44)[graylog.jar:?] at com.mongodb.connection.DefaultAuthenticator.authenticate(DefaultAuthenticator.java:32)[graylog.jar:?] at com.mongodb.connection.InternalStreamConnectionInitializer.authenticateAll(InternalStreamConnectionInitializer.java:99)[graylog.jar:?] at com.mongodb.connection.InternalStreamConnectionInitializer.initialize(InternalStreamConnectionInitializer.java:44)[graylog.jar:?] at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:116)[graylog.jar:?] at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:116)[graylog.jar:?] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_101] Caused by: com.mongodb.MongoCommandException: Command failed with error 18: 'Authentication failed.' on server [xxxx:xxxx:xxxx:xxxx:7156:a7ec:85ad:e85e]:27017. The full response is { "ok" : 0.0, "code" : 18, "errmsg" : "Authentication failed." } at com.mongodb.connection.CommandHelper.createCommandFailureException(CommandHelper.java:170)[graylog.jar:?] at com.mongodb.connection.CommandHelper.receiveCommandResult(CommandHelper.java:123)[graylog.jar:?] at com.mongodb.connection.CommandHelper.executeCommand(CommandHelper.java:32)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator.sendSaslStart(SaslAuthenticator.java:117)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator.access$000(SaslAuthenticator.java:37)[graylog.jar:?] at com.mongodb.connection.SaslAuthenticator$1.run(SaslAuthenticator.java:50)[graylog.jar:?] ... 9 more

    Users with the same issue

    pulse00pulse00
    3 times, last one,
    DunmerDunmer
    147 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    6 more bugmates