R
Railway6mo ago
xiaojun

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:
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.
Jump to solution
2 Replies
Percy
Percy6mo ago
Project ID: 082a724b-8d54-43c3-92e9-d2b4c03acf57,aaa4ad6f-83ff-4c33-bd3a-4f37173c1a16
Solution
xiaojun
xiaojun6mo ago
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.
Want results from more Discord servers?
Add your server
More Posts
Can't remove cron job.https://cdn.discordapp.com/attachments/727689277219012669/1188368483583524864/CleanShot_2023-12-24_aDeploying Angular App - "Nixpacks build failed" ErrorHi! I am hoping someone can help me please. I am trying to deploy an Angular App. I have done this bupgrade to pro issuejust upgraded to pro plan, but getting this after i transferd my projectWriting files to a disk increases RAM usageI have a simple program that lets the user send the video. It downloads it and saves to the disk. NoRailway created a new team while I wanted to upgrade my other teamHi there, recently I tried to upgrade my team from the hobby plan to the pro plan to get access to tError: Cannot find module './pnpm.cjs' when trying to build an Nx monorepo appI might just be off the beaten track here with pnpm, as this looks like a build system error rather DockerFile fails to install packages with yarn install and doesn't generate node_modulesThis is my DockerFile ```# Build stage FROM node:18 as builder WORKDIR /app COPY package.json . COPYv2 Migration: N8N - Application failed to respondAfter migrating to v2, I can no longer access my N8N installation. Migration seems to have been compHow to fix 'Application failed to respond' error and add Python (flask) to Nextjs app on Railway?**Context/What I want to do:** I have an app that uses nextjs and flask. I have the following folderConcern: Discrepancy in Billing - Excess Amount Reflecting Against UsageDear Railway Team, I hope this message finds you well. I am writing to you regarding a recent bill