Installing troubles - please advise

Built a second computer and trying to install cryosparc2 as a --standalone on new machine.
Ran into some errors, please advise.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>

webapp: ERROR

Creating the initial cryoSPARC user...

Creating user UNCuser with email: UNCuser@user.com password: 321dorwssap
*** client.py: command (http://kato:39002/api) did not reply within timeout of 300 seconds, attempt 1 of 3
*** client.py: command (http://kato:39002/api) did not reply within timeout of 300 seconds, attempt 2 of 3
*** client.py: command (http://kato:39002/api) did not reply within timeout of 300 seconds, attempt 3 of 3
Traceback (most recent call last):
  File "/home/UNCuser/CS2/cryosparc2_master/deps/anaconda/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/home/UNCuser/CS2/cryosparc2_master/deps/anaconda/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/UNCuser/CS2/cryosparc2_master/cryosparc2_compute/client.py", line 82, in <module>
    cli = CommandClient(host, int(port))
  File "/home/UNCuser/CS2/cryosparc2_master/cryosparc2_compute/client.py", line 33, in __init__
    self._reload()
  File "/home/UNCuser/CS2/cryosparc2_master/cryosparc2_compute/client.py", line 61, in _reload
    system = self._get_callable('system.describe')()
  File "/home/UNCuser/CS2/cryosparc2_master/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/UNCuser/CS2/cryosparc2_master/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/UNCuser/CS2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/UNCuser/CS2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/UNCuser/CS2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/home/UNCuser/CS2/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='emx20', port=39002): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f04d02d7c50>: Failed to establish a new connection: [Errno -2] Name or service not known',))

Hello I have solved this problem not sure if it was the gestalt or one command in particular.

As follows:
#Open Ports
sudo firewall-cmd --zone=public --add-port=39100/tcp --permanent
sudo firewall-cmd --zone=public --add-port=39101/tcp --permanent
sudo firewall-cmd --zone=public --add-port=39102/tcp --permanent
sudo firewall-cmd --zone=public --add-port=39103/tcp --permanent
sudo firewall-cmd --zone=public --add-port=39104/tcp --permanent
sudo firewall-cmd --zone=public --add-port=39105/tcp --permanent

firewall-cmd --zone=public --permanent --add-masquerade
firewall-cmd --permanent --add-forward-port=port=39100:proto=tcp:toport=39105

#check your work
sudo firewall-cmd --list-all

sudo hostname localhost

3 Likes

Thanks @UNCuser, glad to hear it’s resolved!

1 Like