Skip to content
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

Pymongo Authentication Error #403

Closed
AmazingAbhi opened this issue Feb 21, 2024 · 1 comment
Closed

Pymongo Authentication Error #403

AmazingAbhi opened this issue Feb 21, 2024 · 1 comment

Comments

@AmazingAbhi
Copy link

I followed the docker setup guidelines and did not make any changes to .env besides the required keys.
Still getting the authentication error even while doing get request for database-connections:

pymongo.errors.OperationFailure: Authentication failed., full error: {'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed'}

@AmazingAbhi
Copy link
Author

Its fixed now.
Solution: Everytime we run docker compose --build, we need to delete mounted volumes to start fresh.

Feel free to delete/resolve this issue.

@aazo11 aazo11 closed this as completed Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants