project build error, it used to work well. Tunnel connection failed: 403 Forbidden
i have a simple project, https://railway.app/project/082a724b-8d54-43c3-92e9-d2b4c03acf57, i updated some code today, and i ran into some build error: the error seems inrelevant to my code..Please help:
#10 [stage-0 6/8] RUN --mount=type=cache,id=s/aaa4ad6f-83ff-4c33-bd3a-4f37173c1a16-/root/cache/pip,target=/root/.cache/pip python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt
#10 6.389 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden'))': /simple/asgiref/
#10 7.320 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden'))': /simple/asgiref/
#10 8.753 WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden'))': /simple/asgiref/
#10 11.20 WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden'))': /simple/asgiref/
#10 15.62 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden'))': /simple/asgiref/
#10 16.05 ERROR: Could not find a version that satisfies the requirement asgiref==3.7.2 (from versions: none)
#10 16.05 ERROR: No matching distribution found for asgiref==3.7.2
#10 ERROR: process "/bin/bash -ol pipefail -c python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -r requirements.txt" did not complete successfully: exit code: 1
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Solution:Jump to solution
the problem is solved. it seems my environment variable http_proxy and https_proxy are set as system environments, and affect the build. i changed my variable name, and it worked now.
2 Replies
Project ID:
082a724b-8d54-43c3-92e9-d2b4c03acf57,aaa4ad6f-83ff-4c33-bd3a-4f37173c1a16
Solution
the problem is solved. it seems my environment variable http_proxy and https_proxy are set as system environments, and affect the build. i changed my variable name, and it worked now.