Not Getting the result in MongoDB Tool

Error Message:
Timed out after 10000 ms while waiting for a server that matches
ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is
{type=UNKNOWN, servers=[{, type=UNKNOWN,
state=CONNECTING, exception={com.mongodb.MongoSecurityException: Exception authenticating
MongoCredential{mechanism=null, userName='lnpFteApp', source='admin', password=,
mechanismProperties={}}}, caused by {com.mongodb.MongoCommandException: Command failed with error
18: 'Authentication failed.' on server The full response is {
"ok" : 0.0, "code" : 18, "errmsg" : "Authentication failed." }}}]


  • benken_parasoftbenken_parasoft Posts: 1,009 ✭✭✭
    edited December 2017

    As the error message indicates, authentication failed. Probably you are specifying incorrect login credentials.

  • prasathlearnprasathlearn Posts: 4
    edited December 2017

    I resolved it .. Thanks for the update.

    But the test is failed, also i got the response..

    Error Message:
    Test failed.

    Additional Details:
    No additional details available

Sign In or Register to comment.