the content of cryosparc_master/run/command_core.log as follow:
2022-10-07 09:58:43,180 COMMAND.MAIN start INFO | === STARTED ===
2022-10-07 09:58:43,181 COMMAND.BG_WORKER background_worker INFO | === STARTED ===
2022-10-07 09:58:43,181 COMMAND.CORE run INFO | === STARTED TASKS WORKER ===
* Serving Flask app "command_core" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
**custom thread exception hook caught something
**** handle exception rc
Traceback (most recent call last):
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_compute/jobs/runcommon.py", line 1925, in run_with_except_hook
run_old(*args, **kw)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 144, in background_worker
last_audit_date = get_config_var('audit', fail_notset=False, default={})\
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/commandcommon.py", line 185, in wrapper
return func(*args, **kwargs)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/commandcommon.py", line 283, in get_config_var
res = mongo.db[colname].find_one({'name' : name})
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/collection.py", line 1328, in find_one
for result in cursor.limit(-1):
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/cursor.py", line 1238, in next
if len(self.__data) or self._refresh():
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/cursor.py", line 1130, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1935, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1883, in __start_session
server_session = self._get_server_session()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1921, in _get_server_session
return self._topology.get_server_session()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 520, in get_server_session
session_timeout = self._check_session_support()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 502, in _check_session_support
None)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 220, in _select_servers_loop
(self._error_message(selector), timeout, self.description))
pymongo.errors.ServerSelectionTimeoutError: sn4622107454:39001: [Errno -2] Name or service not known, Timeout: 30s, Topology Description: <TopologyDescription id: 63405ac3412fd9eb6a1cb923, topology_type: Single, servers: [<ServerDescription ('sn4622107454', 39001) server_type: Unknown, rtt: None, error=AutoReconnect('sn4622107454:39001: [Errno -2] Name or service not known')>]>
2022-10-10 09:36:34,612 COMMAND.MAIN start INFO | === STARTED ===
2022-10-10 09:36:34,612 COMMAND.BG_WORKER background_worker INFO | === STARTED ===
2022-10-10 09:36:34,613 COMMAND.CORE run INFO | === STARTED TASKS WORKER ===
* Serving Flask app "command_core" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
**custom thread exception hook caught something
**** handle exception rc
Traceback (most recent call last):
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_compute/jobs/runcommon.py", line 1925, in run_with_except_hook
run_old(*args, **kw)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/command_core/__init__.py", line 144, in background_worker
last_audit_date = get_config_var('audit', fail_notset=False, default={})\
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/commandcommon.py", line 185, in wrapper
return func(*args, **kwargs)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/cryosparc_command/commandcommon.py", line 283, in get_config_var
res = mongo.db[colname].find_one({'name' : name})
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/collection.py", line 1328, in find_one
for result in cursor.limit(-1):
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/cursor.py", line 1238, in next
if len(self.__data) or self._refresh():
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/cursor.py", line 1130, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1935, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1883, in __start_session
server_session = self._get_server_session()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1921, in _get_server_session
return self._topology.get_server_session()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 520, in get_server_session
session_timeout = self._check_session_support()
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 502, in _check_session_support
None)
File "/home/cryosparc_user/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 220, in _select_servers_loop
(self._error_message(selector), timeout, self.description))
pymongo.errors.ServerSelectionTimeoutError: sn4622107454:39001: [Errno -2] Name or service not known, Timeout: 30s, Topology Description: <TopologyDescription id: 63444a12d2f8497d3df4fcfc, topology_type: Single, servers: [<ServerDescription ('sn4622107454', 39001) server_type: Unknown, rtt: None, error=AutoReconnect('sn4622107454:39001: [Errno -2] Name or service not known')>]>