Closed thiagozs closed 7 years ago
I hit the same issue. +1
I would try filing this under https://github.com/python-diamond as the project has moved there.
@bnikolaus thank you, i going put there this issue.
@bnikolaus https://github.com/python-diamond/Diamond/issues/315 is done!
This repo has moved to https://github.com/python-diamond/Diamond
Please open a new ticket there if this issue is not resolved with the current code there.
Thanks!
Hello guys. I'm in trouble to authenticate with mongodb 3.0.5 with username and password to login.
Follow the logs.
Thanks.
mongo client.
ubuntu@mongo-production:/etc/diamond/collectors$ mongo
MongoDB shell version: 3.0.5 connecting to: test
cat /etc/diamond/collectors/MongoDBCollector.conf enabled = True host = localhost:27017 passwd = xxx user = fgUserOld
tail -f /var/log/diamond/diamond.log
[2015-10-21 14:17:28,592] [MainThread] Signal Received: 15 [2015-10-21 14:17:28,592] [MainThread] Signal Received: 15 [2015-10-21 14:18:59,829] [MainThread] User auth given, but could not autheticate with host: 127.0.0.1:27017, err: command SON([('saslStart', 1), ('mechanism', 'SCRAM-SHA-1'), ('payload', Binary('n,,n=fgUserOld,r=OTIwMjE4OTMzMjE3', 0)), ('autoAuthorize', 1)]) on namespace admin.$cmd failed: Authentication failed. [2015-10-21 14:23:59,921] [MainThread] User auth given, but could not autheticate with host: 127.0.0.1:27017, err: command SON([('saslStart', 1), ('mechanism', 'SCRAM-SHA-1'), ('payload', Binary('n,,n=fgUserOld,r=Mzg1Mjc1MTQ4NDQ=', 0)), ('autoAuthorize', 1)]) on namespace admin.$cmd failed: Authentication failed.
python -c "import pymongo; print(pymongo.version); print(pymongo.has_c())" 3.0.3 False