Closed amjad-12 closed 9 months ago
it's clearly a networking issue. perhaps you need to set HTTP_PROXY and HTTPS_PROXY before running freqtrade install-ui
well you can manually download the zip file from the release page and extract it in the correct place ...
but overall, i do agree with @geovedi, it sounds like a connection problem - if you've got that problem with UI installation, it's quite likely that the bot itself will have a similar / same problem.
I found the place where I should extract the file and the problem fixed I extract it to rpc/api_server/ui/installed and the ui work thank you so so much for your support @geovedi @xmatthias
Hello
My System is:
My question is: I try to install frequi using freqtrade install-ui for several days but I still got this error I tried a lot of solutions like
` 2024-01-21 17:11:09,927 - freqtrade - INFO - freqtrade 2023.12 2024-01-21 17:11:10,929 - freqtrade.commands.deploy_commands - INFO - Removing UI directory content. 2024-01-21 17:11:10,930 - freqtrade.commands.deploy_commands - INFO - Downloading https://github.com/freqtrade/frequi/releases/download/1.2.2/freqUI.zip 2024-01-21 17:19:55,687 - freqtrade - ERROR - Fatal exception! Traceback (most recent call last): File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connection.py", line 203, in _new_conn sock = connection.create_connection( File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection raise err File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen response = self._make_request( File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 491, in _make_request raise new_e File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request self._validate_conn(conn) File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1096, in _validate_conn conn.connect() File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connection.py", line 611, in connect self.sock = sock = self._new_conn() File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connection.py", line 212, in _new_conn raise ConnectTimeoutError( urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fc3d2978670>, 'Connection to objects.githubusercontent.com timed out. (connect timeout=None)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 844, in urlopen retries = retries.increment( File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='objects.githubusercontent.com', port=443): Max retries exceeded with url: /github-production-release-asset-2e65be/263869196/b63e4aaf-e69d-41dc-ad73-886c84869821?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240121%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240121T141111Z&X-Amz-Expires=300&X-Amz-Signature=0efeb334f50a1687dcff795e4318a963a2dec56a5b7a0f5864aa9ce5526cba72&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=263869196&response-content-disposition=attachment%3B%20filename%3DfreqUI.zip&response-content-type=application%2Foctet-stream (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fc3d2978670>, 'Connection to objects.githubusercontent.com timed out. (connect timeout=None)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/amjaddodo/dodo/freqtrade/freqtrade/main.py", line 42, in main return_code = args'func' File "/home/amjaddodo/dodo/freqtrade/freqtrade/commands/deploy_commands.py", line 184, in start_install_ui download_and_install_ui(dest_folder, dl_url, latest_version) File "/home/amjaddodo/dodo/freqtrade/freqtrade/commands/deploy_commands.py", line 122, in download_and_install_ui resp = requests.get(dl_url).content File "/home/amjaddodo/dodo/.env/lib/python3.10/site-packages/requests/api.py", line 73, in get return `