hummingbot / dashboard

Application that helps you create, backtest, deploy, and manage Hummingbot instances
Apache License 2.0
162 stars 98 forks source link

HTTPConnectionPool(host='127.0.0.1', port=8000) #147

Closed lemanno closed 1 week ago

lemanno commented 2 weeks ago

Describe the bug

hi, I tried to run the dashboard on WSL and on my Mac M1, but I see the same error, could you tell me what I’m doing wrong?

Steps to reproduce bug

Traceback (most recent call last): File "/opt/anaconda3/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/Users/markel/Desktop/mmbot/hummingbot/dashboard/frontend/pages/orchestration/instances/app.py", line 43, in if not api_client.is_docker_running(): File "/Users/markel/Desktop/mmbot/hummingbot/dashboard/backend/services/backend_api_client.py", line 28, in is_docker_running response = requests.get(url) File "/opt/anaconda3/envs/dashboard/lib/python3.10/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, kwargs) File "/opt/anaconda3/envs/dashboard/lib/python3.10/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, kwargs) File "/opt/anaconda3/envs/dashboard/lib/python3.10/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, send_kwargs) File "/opt/anaconda3/envs/dashboard/lib/python3.10/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, kwargs) File "/opt/anaconda3/envs/dashboard/lib/python3.10/site-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8000): Max retries exceeded with url: /is-docker-running (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x16e593370>: Failed to establish a new connection: [Errno 61] Connection refused'))

david-hummingbot commented 2 weeks ago

Do you have backend api running?

lemanno commented 2 weeks ago

Do you have backend api running?

Hi, I do everything according to the documentation, without additional manipulations, should I do this? if so, how. Sorry if this question is too stupid, I'm not exactly an advanced user.

Bast66 commented 1 week ago

you need to run this also https://github.com/hummingbot/backend-api

david-hummingbot commented 1 week ago

@lemanno If you are not a developer we recommend using Fede's repo to deploy dashboard - https://github.com/cardosofede/hummingbot-deploy