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.errors.OperationFailure: Authentication failed. #6

Open
nicklam1994 opened this issue Oct 8, 2024 · 0 comments
Open

pymongo.errors.OperationFailure: Authentication failed. #6

nicklam1994 opened this issue Oct 8, 2024 · 0 comments

Comments

@nicklam1994
Copy link

nicklam1994 commented Oct 8, 2024

pymongo.errors.OperationFailure: Authentication failed.

2024-10-08T08:50:34.331322727Z | stdout | pymongo.errors.OperationFailure: Authentication failed.
2024-10-08T08:50:34.331257299Z | stdout | raise OperationFailure(msg % errmsg, code, response)
2024-10-08T08:50:34.331061515Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/helpers.py", line 159, in _check_command_response
2024-10-08T08:50:34.330983992Z | stdout | helpers._check_command_response(
2024-10-08T08:50:34.330615510Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/network.py", line 165, in command
2024-10-08T08:50:34.330491035Z | stdout | return command(self.sock, dbname, spec, slave_ok,
2024-10-08T08:50:34.330215229Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/pool.py", line 603, in command
2024-10-08T08:50:34.330146046Z | stdout | res = sock_info.command(source, cmd)
2024-10-08T08:50:34.329991186Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/auth.py", line 263, in _authenticate_scram
2024-10-08T08:50:34.329906813Z | stdout | return _authenticate_scram(credentials, sock_info, 'SCRAM-SHA-1')
2024-10-08T08:50:34.329403875Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/auth.py", line 539, in _authenticate_default
2024-10-08T08:50:34.329295575Z | stdout | auth_func(credentials, sock_info)
2024-10-08T08:50:34.329043247Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/auth.py", line 564, in authenticate
2024-10-08T08:50:34.328965511Z | stdout | auth.authenticate(credentials, self)
2024-10-08T08:50:34.328429287Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/pool.py", line 712, in check_auth
2024-10-08T08:50:34.328316520Z | stdout | sock_info.check_auth(all_credentials)
2024-10-08T08:50:34.327872882Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/pool.py", line 1138, in get_socket
2024-10-08T08:50:34.327795984Z | stdout | return next(self.gen)
2024-10-08T08:50:34.327443808Z | stdout | File "/usr/local/lib/python3.9/contextlib.py", line 117, in enter
2024-10-08T08:50:34.327330634Z | stdout | with server.get_socket(
2024-10-08T08:50:34.326860326Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1221, in _get_socket
2024-10-08T08:50:34.326773284Z | stdout | return next(self.gen)
2024-10-08T08:50:34.326431550Z | stdout | File "/usr/local/lib/python3.9/contextlib.py", line 117, in enter
2024-10-08T08:50:34.326290924Z | stdout | with self._get_socket(server, session, exhaust=exhaust) as sock_info:
2024-10-08T08:50:34.325786980Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1282, in _slaveok_for_server
2024-10-08T08:50:34.325727291Z | stdout | return next(self.gen)
2024-10-08T08:50:34.325595026Z | stdout | File "/usr/local/lib/python3.9/contextlib.py", line 117, in enter
2024-10-08T08:50:34.325513039Z | stdout | with self._slaveok_for_server(read_pref, server, session,
2024-10-08T08:50:34.324609913Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1457, in _retryable_read
2024-10-08T08:50:34.324364063Z | stdout | return self.__client._retryable_read(
2024-10-08T08:50:34.324045519Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/database.py", line 748, in _retryable_read_command
2024-10-08T08:50:34.323951136Z | stdout | res = admin._retryable_read_command(cmd, session=session)
2024-10-08T08:50:34.322943392Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1890, in list_databases
2024-10-08T08:50:34.322796157Z | stdout | for doc in self.list_databases(session, nameOnly=True)]
2024-10-08T08:50:34.322126996Z | stdout | File "/usr/local/lib/python3.9/site-packages/pymongo/mongo_client.py", line 1909, in list_database_names
2024-10-08T08:50:34.322058554Z | stdout | db_list = connection.list_database_names()
2024-10-08T08:50:34.322012185Z | stdout | File "/home/gstant/general-server-assistant/app/tools/init_tools.py", line 66, in init_database
2024-10-08T08:50:34.321954145Z | stdout | init_database()
2024-10-08T08:50:34.321803328Z | stdout | File "/home/gstant/general-server-assistant/app/tools/init_tools.py", line 100, in init_app
2024-10-08T08:50:34.321610752Z | stdout | init_app()
2024-10-08T08:50:34.321188708Z | stdout | File "/home/gstant/general-server-assistant/main.py", line 15, in 
2024-10-08T08:50:34.321001595Z | stdout | Traceback (most recent call last):
2024-10-08T08:50:33.882333632Z | stdout | requests Version: 2.32.3
2024-10-08T08:50:31.514347086Z | stdout | lxml Version: 5.3.0
2024-10-08T08:50:29.042535891Z | stdout | pyjwt Version: 2.9.0
2024-10-08T08:50:26.623678997Z | stdout | pymongo Version: 3.10.1
2024-10-08T08:50:24.199387429Z | stdout | flask-cors Version: 5.0.0
2024-10-08T08:50:21.818478016Z | stdout | flask Version: 3.0.3
2024-10-08T08:50:19.329736538Z | stdout | have init.py
2024-10-08T08:50:19.329631536Z | stdout | using user requirements
2024-10-08T08:50:19.328304786Z | stdout | using user appConfig

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

1 participant