Hi
I am using the cryoSPARC v 4.7.1. The cryoSPARC frequently report the pymongo.errors.NetworkTimeout when I ran 2D classification.
Traceback (most recent call last):
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 1695, in connect
sock = _configured_socket(self.address, self.opts)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 1313, in _configured_socket
sock = _create_connection(address, options)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 1297, in _create_connection
raise err
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 1290, in _create_connection
sock.connect(sa)
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/cryosparc_compute/jobs/runcommon.py”, line 2306, in run_with_except_hook
run_old(*args, **kw)
File “cryosparc_master/cryosparc_compute/gpu/gpucore.py”, line 136, in cryosparc_master.cryosparc_compute.gpu.gpucore.GPUThread.run
File “cryosparc_master/cryosparc_compute/gpu/gpucore.py”, line 137, in cryosparc_master.cryosparc_compute.gpu.gpucore.GPUThread.run
File “cryosparc_master/cryosparc_compute/jobs/class2D/newrun.py”, line 670, in cryosparc_master.cryosparc_compute.jobs.class2D.newrun.class2D_engine_run.work
File “cryosparc_master/cryosparc_compute/jobs/class2D/newrun.py”, line 232, in cryosparc_master.cryosparc_compute.jobs.class2D.newrun.run_class_2D.progress
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/cryosparc_compute/jobs/runcommon.py”, line 1826, in update_event_text
db[‘events’].update_one({‘_id’:event_id},
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/collection.py”, line 1077, in update_one
self._update_retryable(
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/collection.py”, line 872, in _update_retryable
return self.__database.client._retryable_write(
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 1575, in _retryable_write
return self._retry_with_session(retryable, func, s, bulk, operation, operation_id)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 1461, in _retry_with_session
return self._retry_internal(
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/_csot.py”, line 108, in csot_wrapper
return func(self, *args, **kwargs)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 1507, in _retry_internal
).run()
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 2353, in run
return self._read() if self._is_read else self._write()
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 2457, in _write
with self._client._checkout(self._server, self._session) as conn:
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/contextlib.py”, line 135, in enter
return next(self.gen)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 1266, in _checkout
with server.checkout(handler=err_handler) as conn:
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/contextlib.py”, line 135, in enter
return next(self.gen)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 1767, in checkout
conn = self._get_conn(checkout_started_time, handler=handler)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 1926, in _get_conn
conn = self.connect(handler=handler)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 1715, in connect
_raise_connection_failure(self.address, error, timeout_details=details)
File “/home/exacloud/gscratch/gouaux/gouaux-cs2.ohsu.edu/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.10/site-packages/pymongo/pool.py”, line 419, in _raise_connection_failure
raise NetworkTimeout(msg) from error
pymongo.errors.NetworkTimeout: gouaux-cs2.ohsu.edu:61001: timed out (configured timeouts: connectTimeoutMS: 20000.0ms)