Skip to content

Mongodb + Atlas: 'bad auth Authentication failed.', code: 8000, #48

@zinkmovies

Description

@zinkmovies

2022-07-18T07:55:02.112667+00:00 app[worker.1]: return _authenticate_scram(credentials, sock_info, "SCRAM-SHA-1")
2022-07-18T07:55:02.112667+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/auth.py", line 241, in _authenticate_scram
2022-07-18T07:55:02.112667+00:00 app[worker.1]: res = sock_info.command(source, cmd)
2022-07-18T07:55:02.112667+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/pool.py", line 743, in command
2022-07-18T07:55:02.112668+00:00 app[worker.1]: return command(
2022-07-18T07:55:02.112668+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/network.py", line 160, in command
2022-07-18T07:55:02.112668+00:00 app[worker.1]: helpers._check_command_response(
2022-07-18T07:55:02.112669+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/helpers.py", line 180, in _check_command_response
2022-07-18T07:55:02.112669+00:00 app[worker.1]: raise OperationFailure(errmsg, code, response, max_wire_version)
2022-07-18T07:55:02.112670+00:00 app[worker.1]: pymongo.errors.OperationFailure: bad auth : Authentication failed., full error: {'ok': 0, 'errmsg': 'bad auth : Authentication failed.', 'code': 8000, 'codeName': 'AtlasError'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions