com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='jenkins', source='graylog', password=<hidden>, mechanismProperties={}}

GitHub | zaibfridi | 3 months ago
  1. 0

    connection string of mongodb with ipv6

    GitHub | 3 months ago | zaibfridi
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='jenkins', source='graylog', password=<hidden>, mechanismProperties={}}
  2. 0

    Check MongoDB authentication with Java 3.0 driver

    Stack Overflow | 2 years ago | Bram Vandewalle
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='<user>', source='<source>', password=<hidden>, mechanismProperties={}}
  3. 0

    Check MongoDB authentication with Java 3.0 driver - Stack Overflow

    xluat.com | 1 year ago
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='<user>', source='<source>', password=<hidden>, mechanismProperties={}}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub Connector unable to connect to MongoDB

    GitHub | 1 year ago | joshku
    com.mongodb.MongoSecurityException: Exception authenticating
  6. 0

    Java - Check MongoDB authentication with Java 3.0 driver

    howtobuildsoftware.com | 8 months ago
    com.mongodb.MongoSecurityException: Exception authenticating MongoCredential{mechanism=null, userName='<user>', source='<source>', password=<hidden>, mechanismProperties={}}

    8 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. MongoDB Java Driver
      DefaultServerMonitor$ServerMonitorRunnable.run
      1. com.mongodb.connection.CommandHelper.createCommandFailureException(CommandHelper.java:170)[graylog.jar:?]
      2. com.mongodb.connection.CommandHelper.receiveCommandResult(CommandHelper.java:123)[graylog.jar:?]
      3. com.mongodb.connection.CommandHelper.executeCommand(CommandHelper.java:32)[graylog.jar:?]
      4. com.mongodb.connection.SaslAuthenticator.sendSaslStart(SaslAuthenticator.java:117)[graylog.jar:?]
      5. com.mongodb.connection.SaslAuthenticator.access$000(SaslAuthenticator.java:37)[graylog.jar:?]
      6. com.mongodb.connection.SaslAuthenticator$1.run(SaslAuthenticator.java:50)[graylog.jar:?]
      7. com.mongodb.connection.SaslAuthenticator$1.run(SaslAuthenticator.java:44)[graylog.jar:?]
      8. com.mongodb.connection.SaslAuthenticator.doAsSubject(SaslAuthenticator.java:162)[graylog.jar:?]
      9. com.mongodb.connection.SaslAuthenticator.authenticate(SaslAuthenticator.java:44)[graylog.jar:?]
      10. com.mongodb.connection.DefaultAuthenticator.authenticate(DefaultAuthenticator.java:32)[graylog.jar:?]
      11. com.mongodb.connection.InternalStreamConnectionInitializer.authenticateAll(InternalStreamConnectionInitializer.java:99)[graylog.jar:?]
      12. com.mongodb.connection.InternalStreamConnectionInitializer.initialize(InternalStreamConnectionInitializer.java:44)[graylog.jar:?]
      13. com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:116)[graylog.jar:?]
      14. com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:116)[graylog.jar:?]
      14 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]
      1 frame