Install stuck on queue, worker connection error

open

#1

Good afternoon,
We are having a few problems with our v2.5 installation (standalone).
When we first started our new cryosparc jobs were stuck on queue. We assumed it was because while the master was working, the worker was not connected during the installation. We then attempted to connect our worker to the master and ran into the following error:

[cryosparc_user@c105445 cryosparc2_worker]$ bin/cryosparcw connect --worker c105445 --master c105445 --port 39000 --ssdpath /data/CRYOSPARC
 ---------------------------------------------------------------
  CRYOSPARC CONNECT --------------------------------------------
 ---------------------------------------------------------------
  Attempting to register worker c105445 to command c105445:39002
  Connecting as unix user cryosparc_user
  Will register using ssh string: cryosparc_user@c105445
  If this is incorrect, you should re-run this command with the flag --sshstr <ssh string> 
 ---------------------------------------------------------------
Traceback (most recent call last):
  File "bin/connect.py", line 57, in <module>
    cli = client.CommandClient(host=master_hostname, port=command_core_port)
  File "/data/CRYOSPARC/cryosparc2_worker/cryosparc2_compute/client.py", line 17, in __init__
    self._reload()
  File "/data/CRYOSPARC/cryosparc2_worker/cryosparc2_compute/client.py", line 35, in _reload
    system = self._get_callable('system.describe')()
  File "/data/CRYOSPARC/cryosparc2_worker/cryosparc2_compute/client.py", line 28, in func
    r = requests.post(self.url, json = data, headers = header, timeout=self.timeout)
  File "/data/CRYOSPARC/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 "/data/CRYOSPARC/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 "/data/CRYOSPARC/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/data/CRYOSPARC/cryosparc2_worker/deps/anaconda/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/data/CRYOSPARC/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='c105445', port=39002): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1f6fe68290>: Failed to establish a new connection: [Errno 99] Cannot assign requested address',))

#2

Hi @Kellie,

Can you make sure that cryoSPARC is turned on when you run this command?
cryosparcm start (or cryosparcm restart)