Server cannot be started on other workstation
I am certain it worked once but now trying to start stand unfortunately fails. It looks good initially:
(stand)[steppke_a] /sf/cristallina/applications/stand $ ./stand.sh
2023-03-11 18:29:33.629 INFO numexpr.utils: Note: NumExpr detected 16 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
2023-03-11 18:29:33.629 INFO numexpr.utils: NumExpr defaulting to 8 threads.
Git integration is disabled.
Streamlit requires Git 2.7.0 or later, but you have 1.8.3.1.
Git is used by Streamlit Cloud (https://streamlit.io/cloud).
To enable this feature, please update Git.
You can now view your Streamlit app in your browser.
Network URL: http://129.129.244.74:8501
External URL: http://129.129.244.74:8501
When accessing the web interface though there is a permissions problem:
>>> start restapi
>>> loaded dataframe from output.h5
[11/Mar/2023:18:29:40] ENGINE Bus STARTING
2023-03-11 18:29:40.787 [11/Mar/2023:18:29:40] ENGINE Bus STARTING
>>> start of streamlit run
[11/Mar/2023:18:29:40] ENGINE Started monitor thread 'Autoreloader'.
2023-03-11 18:29:40.788 [11/Mar/2023:18:29:40] ENGINE Started monitor thread 'Autoreloader'.
[11/Mar/2023:18:29:40] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cherrypy/process/servers.py", line 225, in _start_http_thread
self.httpserver.start()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1836, in start
self.prepare()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1791, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('129.129.244.80', 9090): [Errno 99] Cannot assign requested address)
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cherrypy/process/servers.py", line 225, in _start_http_thread
self.httpserver.start()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1836, in start
self.prepare()
File "/sf/cristallina/applications/conda/envs/stand/lib/python3.10/site-packages/cheroot/server.py", line 1791, in prepare
raise socket.error(msg)
OSError: No socket could be created -- (('129.129.244.80', 9090): [Errno 99] Cannot assign requested address)
[11/Mar/2023:18:29:40] ENGINE Bus STOPPING
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus STOPPING
[11/Mar/2023:18:29:40] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('saresc-cons-05', 9090)) already shut down
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('saresc-cons-05', 9090)) already shut down
[11/Mar/2023:18:29:40] ENGINE Stopped thread 'Autoreloader'.
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Stopped thread 'Autoreloader'.
[11/Mar/2023:18:29:40] ENGINE Bus STOPPED
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus STOPPED
[11/Mar/2023:18:29:40] ENGINE Bus EXITING
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus EXITING
[11/Mar/2023:18:29:40] ENGINE Bus EXITED
2023-03-11 18:29:40.795 [11/Mar/2023:18:29:40] ENGINE Bus EXITED
Looking at the IP address though it is a bit strange that it wants to bind to 129.129.244.80 (where I started stand once in the past) but I am executing this on 129.129.244.74. A streamlight config show
does not reveal any references to the 129.129.244.80 address either. Is there some other configuration that needs to be edited?