Hi,
I have a standalone version installed on a workstation. I’d like to install a worker version on another workstation, but am having issues at the connection stage:
./bin/cryosparcw connect --worker Rostam --master atar --port 39000 --ssdpath /mnt/Data_00/cryosparc_cache
./bin/cryosparcw connect --worker $worker_hostname --master $master_hostname --port $port_number --ssdpath $ssd_path
CRYOSPARC CONNECT --------------------------------------------
Attempting to register worker Rostam to command atar:39002
Connecting as unix user cryosparc_user
Will register using ssh string: cryosparc_user@Rostam
If this is incorrect, you should re-run this command with the flag --sshstr
*** client.py: command (http://atar:39002/api) did not reply within timeout of 300 seconds, attempt 1 of 3
*** client.py: command (http://atar:39002/api) did not reply within timeout of 300 seconds, attempt 2 of 3
*** client.py: command (http://atar:39002/api) did not reply within timeout of 300 seconds, attempt 3 of 3
Traceback (most recent call last):
File “bin/connect.py”, line 89, in
cli = client.CommandClient(host=master_hostname, port=command_core_port)
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/cryosparc2_compute/client.py”, line 33, in init
self._reload()
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/cryosparc2_compute/client.py”, line 61, in _reload
system = self._get_callable(‘system.describe’)()
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/cryosparc2_compute/client.py”, line 49, in func
r = requests.post(self.url, data = json.dumps(data, cls=NumpyEncoder), headers = header, timeout=self.timeout)
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/requests/api.py”, line 116, in post
return request(‘post’, url, data=data, json=json, **kwargs)
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/requests/api.py”, line 60, in request
return session.request(method=method, url=url, **kwargs)
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/requests/sessions.py”, line 533, in request
resp = self.send(prep, **send_kwargs)
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/requests/sessions.py”, line 646, in send
r = adapter.send(request, **kwargs)
File “/home/cryosparc_user/Applications/cryoSPARC_2.14.2/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/requests/adapters.py”, line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘atar’, port=39002): Max retries exceeded with url: /api (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7fbbfa8afe10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,))
Changing the master or worker in the above command to their respective IP addresses generates the same error. I have SSH Passwordless setup properly between the two machines. Thanks for the help.