ConnectionError: HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /api/project/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffff3ff3b580>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.__dict__)
File "/code/ui/pages/1_🧪_Projects.py", line 5, in <module>
projects = BEAVER_SDK.project.list()
File "/code/beaver_sdk/beaver_sdk/__init__.py", line 178, in list
return self.get("/api/project/")
File "/code/beaver_sdk/beaver_sdk/__init__.py", line 29, in get
return self.request("GET", endpoint, **kwargs)
File "/code/beaver_sdk/beaver_sdk/__init__.py", line 22, in request
r = (session or self.session()).request(
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
I got beaver up and running following the manual Docker compose steps per the readme,
but when I browse to http://localhost:8501/Projects or http://localhost:8501/Infrastructure I get Connection Refused errors -- is this expected? Or any ideas on a fix/workaround? Here is an example of the error I'm seeing: