Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

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=[{address=vpsdb-dt-a1q.ula.comcast.net:27020, 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 vpsdb-dt-a1q.ula.comcast.net:27020. The full response is {
"ok" : 0.0, "code" : 18, "errmsg" : "Authentication failed." }}}]

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,302 ✭✭✭
    edited December 2017

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

  • prasathlearn
    prasathlearn 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