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

Mongodb initialization #1

Open
StavrosOrf opened this issue Feb 24, 2021 · 0 comments
Open

Mongodb initialization #1

StavrosOrf opened this issue Feb 24, 2021 · 0 comments
Assignees

Comments

@StavrosOrf
Copy link

Hello,
I am not very experienced with MongoDB Initialization and I just followed the instructions as stated in "MongoDB configuration" section. Specifically I cannot authenticate using :

MongoDB shell version v4.4.4
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("eefd4f48-5b68-4a77-b8f7-1b2bf909058b") }
MongoDB server version: 4.4.4


db.auth('ADMIN_USER', 'ADMIN_PASSWORD')
Error: Authentication failed.
0

Which I think causes the following error when running the scheduler

Caused by: com.mongodb.MongoCommandException: Command failed with error 18 (AuthenticationFailed): 'Authentication failed.' on server 127.0.0.1:27017. The full response is {"ok": 0.0, "errmsg": "Authentication failed.", "code": 18, "codeName": "AuthenticationFailed"}

Probably I am doing something wrong, but I would appreciate any help.

@fmilkau fmilkau self-assigned this May 13, 2021
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