Hi,
I found my mongo connection is auto-reset or failed sometimes, and
some useful message in my mongo log:
"auth: bad nonce received or getnonce not called. could be a driver
bug or a security attack. db:User"
With the help of "
https://github.com/mongodb/mongo/blob/master/db/
security_commands.cpp", I got the information that the client sends
user_name, use_password, nonce to the server for the authentication,
and if the nonce sent by the client and distributed by the server are
different, the above message will be printed out.
Is there anything wrong with my mongo driver, or any other reasons?