le "/usr/local/lib/python3.6/dist-packages/pymongo/helpers.py", line 155, in _check_command_response
raise OperationFailure(msg % errmsg, code, response)
pymongo.errors.OperationFailure: Authentication failed.
this was my db line:
db = DAL("mongodb://mwakewaka: blahblaha123**@ds123456.mlab.com:1257467/testriver", check_reserved=["mongodb_nonreserved",], adapter_args={"safe":False})
However I not that this connection with localhost is ok.