ID 022MLB TS 2025-12-31 05:21:41 EST-0500 LN Traceback (most recent call last): LN File "/app/glygen/log.py", line 85, in post LN res_obj = log_logging(req_obj, config_obj) LN File "/app/glygen/log_apilib.py", line 34, in log_logging LN result = dbh[collection].insert_one(query_obj) LN File "/usr/local/lib/python3.6/site-packages/pymongo/collection.py", line 698, in insert_one LN session=session), LN File "/usr/local/lib/python3.6/site-packages/pymongo/collection.py", line 612, in _insert LN bypass_doc_val, session) LN File "/usr/local/lib/python3.6/site-packages/pymongo/collection.py", line 600, in _insert_one LN acknowledged, _insert_command, session) LN File "/usr/local/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1491, in _retryable_write LN return self._retry_with_session(retryable, func, s, None) LN File "/usr/local/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1382, in _retry_with_session LN raise last_error LN File "/usr/local/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1377, in _retry_with_session LN with self._get_socket(server, session) as sock_info: LN File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__ LN return next(self.gen) LN File "/usr/local/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1222, in _get_socket LN self.__all_credentials, checkout=exhaust) as sock_info: LN File "/usr/local/lib/python3.6/contextlib.py", line 81, in __enter__ LN return next(self.gen) LN File "/usr/local/lib/python3.6/site-packages/pymongo/pool.py", line 1138, in get_socket LN sock_info.check_auth(all_credentials) LN File "/usr/local/lib/python3.6/site-packages/pymongo/pool.py", line 712, in check_auth LN auth.authenticate(credentials, self) LN File "/usr/local/lib/python3.6/site-packages/pymongo/auth.py", line 564, in authenticate LN auth_func(credentials, sock_info) LN File "/usr/local/lib/python3.6/site-packages/pymongo/auth.py", line 537, in _authenticate_default LN return _authenticate_scram(credentials, sock_info, 'SCRAM-SHA-256') LN File "/usr/local/lib/python3.6/site-packages/pymongo/auth.py", line 301, in _authenticate_scram LN res = sock_info.command(source, cmd) LN File "/usr/local/lib/python3.6/site-packages/pymongo/pool.py", line 618, in command LN self._raise_connection_failure(error) LN File "/usr/local/lib/python3.6/site-packages/pymongo/pool.py", line 613, in command LN user_fields=user_fields) LN File "/usr/local/lib/python3.6/site-packages/pymongo/network.py", line 167, in command LN parse_write_concern_error=parse_write_concern_error) LN File "/usr/local/lib/python3.6/site-packages/pymongo/helpers.py", line 136, in _check_command_response LN raise NotMasterError(errmsg, response) LN pymongo.errors.NotMasterError: interrupted at shutdown //