You have a space in the uri string. could that be a problem? On Tuesday, 30 July 2019 16:54:28 UTC-7, Maurice Waka wrote: > > > I was trying out this > <http://www.web2pyslices.com/slice/show/1580/save-the-earth-from-a-total-data-mess-with-mongodbadapter#comment_1420> > example, > not sure whether its outdated, > > > but got this errors: > > 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 > <http://ds123456.mlab.com:1257467/testriver>", > check_reserved=["mongodb_nonreserved",], adapter_args={"safe":False})* > > However I not that this connection with localhost is ok. > > > db = DAL('mongodb://localhost/queellness') >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/6c9bcf6a-65de-4423-9b9f-3453d5a6ab89%40googlegroups.com.

