[uWSGI] Auth MongoDB collections for configuration

Gheorghe Chirica chiricagheorghe at gmail.com
Thu Apr 10 13:45:06 CEST 2014


Hi. I'm trying to scan mongodb for collections. Without auth on mongodb all
is working ok, when I add auth like:

emperor = mongodb://user:pass@127.0.0.1:27017,emperor.vassals,{enabled:1}

I get the following error:

Thu Apr 10 13:42:40 getaddrinfo("user:pass at 127.0.0.1") failed: Name or
service not known.

How should I use the auth to mongo db? Is it supported?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.unbit.it/pipermail/uwsgi/attachments/20140410/9115abdc/attachment.html>


More information about the uWSGI mailing list