Development setup fails with ReadTimeoutError - PyPI package registry download issues
Installation of satnogs-db fails with a download timeout by pip when trying to fetch the fontawesome package (26 MB). Other (smaller) packages are fetched successfully before.
> sudo docker-compose up -d --build
[..]
#0 22.00 Collecting eventlet==0.30.2
#0 22.07 Downloading eventlet-0.30.2-py2.py3-none-any.whl (224 kB)
#0 22.22 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 224.2/224.2 KB 1.8 MB/s eta 0:00:00
#0 22.30 Collecting fontawesomefree==6.1.1
#0 22.44 Downloading fontawesomefree-6.1.1-py3-none-any.whl (26.1 MB)
#0 40.11 ━━━━━━ 4.2/26.1 MB 1.6 MB/s eta 0:00:14
#0 40.13 ERROR: Exception:
#0 40.13 Traceback (most recent call last):
[..]
#0 40.13 pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
[..]
failed to solve: executor failed running [/bin/sh -c pip install --no-cache-dir --no-deps --force-reinstall -r /usr/local/src/satnogs-db/requirements.txt]: exit code: 2
Full log: 2023-satnogs-db-timeout-1.log
Increasing the timeout to 100 seconds (add --default-timeout 100
in [Dockerfile#L12) does not alleviate the problem.
Development host system is located in Germany/Europe. According to the Python Infrastructure Status Page the " PyPI Files CDN Miss Times" are increased since 9:00 CET from typically 800 ms to 2000 ms and Fastly Eurpoe (LCY) is under maintenance (Screenshot at 2023-01-10T11:47).