-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB backend error? pls help #290
Comments
I'm sorry but I can't possibly help you with that information, that's something for you to debug. |
Hey my mongodb Database:
mosquitto.conf
mosquitt-go-auth.conf
mosquitto publish :
mongodb.log:
mosquitto-go-auth.log :
|
Sorry, but again, I can't help you with this. I'm not a user of MongoDB nor have it installed, and can't tell why you get |
mongo check :
result:
|
Hi Have you tried to add "auth_opt_mongo_authsource admin" in mosquitt-go-auth.conf? It just works for me. |
root@www:/var/log/mosquitto# tail -F /var/log/mosquitto/mosquitto-go-auth.log |
From you config file
In line
You have whitespace behind that line |
"2023-07-17T17:02:17+08:00" level=debug msg="checking user mosquitto with backend Mongo"
time="2023-07-17T17:02:17+08:00" level=debug msg="Mongo get user error: connection() error occurred during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed."
The text was updated successfully, but these errors were encountered: