hey @wtempel
i ran into another problem connecting to the standalone master/worker combo frmo the master to worker. Could you please give me how to navigate this error.
CRYOSPARC CONNECT --------------------------------------------
Attempting to register worker localhost to command localhost:39002
Connecting as unix user spuser
Will register using ssh string: spuser@localhost
If this is incorrect, you should re-run this command with the flag --sshstr
/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py:134: UserWarning: *** CommandClient: (http://localhost:39002/api) URL Error [Errno 111] Connection refused, attempt 1 of 3. Retrying in 30 seconds
system = self._get_callable(“system.describe”)()
/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py:134: UserWarning: *** CommandClient: (http://localhost:39002/api) URL Error [Errno 111] Connection refused, attempt 2 of 3. Retrying in 30 seconds
system = self._get_callable(“system.describe”)()
Traceback (most recent call last):
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 104, in func
with make_json_request(self, “/api”, data=data, _stacklevel=4) as request:
File “/spshared/apps/cryosparc24/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/contextlib.py”, line 113, in enter
return next(self.gen)
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 225, in make_request
raise CommandError(error_reason, url=url, code=code, data=resdata)
cryosparc_tools.cryosparc.errors.CommandError: *** (http://localhost:39002/api, code 500) URL Error [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “bin/connect.py”, line 78, in
cli = client.CommandClient(host=master_hostname, port=command_core_port, service=“command_core”)
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_compute/client.py”, line 38, in init
super().init(service, host, port, url, timeout, headers, cls=NumpyEncoder)
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 96, in init
self._reload() # attempt connection immediately to gather methods
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 134, in _reload
system = self._get_callable(“system.describe”)()
File “/spshared/apps/cryosparc24/cryosparc_worker/cryosparc_tools/cryosparc/command.py”, line 107, in func
raise CommandError(
cryosparc_tools.cryosparc.errors.CommandError: *** (http://localhost:39002, code 500) Encounted error from JSONRPC function “system.describe” with params ()