Deploy from Gitlab fails

I am getting the error:

error sending request for url (https://backboard.railway-develop.app/graphql/v2): error trying to connect: tcp connect error: Connection refused (os error 111)

After following the Railway Gitlab guide to install the railway CLI, any suggestions? Looks like this endpoint is down
are you setting the RAILWAY_ENV variable anywhere?
yeah I set it in the variables section
stage: railway
image: node:16.0.0
- yarn global add @railway/cli
- railway environment $RAILWAY_ENV
- railway up --service=$RAILWAY_SERVICE_NAME -d
and what are you setting RAILWAY_ENV to?
in this case dev, I am trying to point to my dev environment in my project
remove all RAILWAY_ENV variables
and if you have an enviroment named dev then you would want to do railway up --environment dev --service $RAILWAY_SERVICE_NAME --detech
This worked thank you!

Looking for more? Join the community!

Recommended Posts
Railway Github ActionHey i followed the blog online and am trying to deploy my railway app under a `backend/` directory iBuild slowHi, ive pushed some updates to my sveltekit app that makes my buildtime about 4 minutes for some reaIssue Deploying Laravel PHPHello, i'm trying to deploy an already existing project made in PHP, using Laravel, and i'm trying tCustom domain not showing CNameHi! Just wanted to deploy our main app to Railway but when adding a custom domain it shows an error custom domain via googleHi! I am trying to deploy to a custom domain managed by google, and saw a bunch of posts about issueenvironments are linked together?I've two environments, production and development. If I delete one service in development, it shoulDeployment stuck at building phaseDeployments are stuck at #3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1693872Outbound traffic to Google Pub/Sub limitedProject id: bc848a89-1faa-4b26-af86-58c13f7a2e99 I am using using google pub/sub with pull subscripAccessing secret env variables during build step```toml [variables] GOPRIVATE="github.com/stroomnetwork" STROOM_REPOS_ACCESS_KEY="ghp_THIS is Secretidle cron job resource usuageim playing around with cron jobs, and they seem to be using around 200mb of ram idly even when not rMixed Content error: HTTP vs. HTTPSI have a Railway/React/Vite frontend accessing a Railway/Fastapi backend, and my frontend receives tDeployment fails when pulling nixpack imageDeployments are failing on this internal build step: #3 [internal] load metadata for ghcr.io/railwayUnable to find PostgreSQL client librarySetting up a Rails + Postgres app but deployment is failing due to an "Unable to find PostgreSQL cliInactive deployment stuck in "waiting"I have an old deployment stuck in a "waiting" status. I was doing some empty commit on my github repLogs not showingAre there problems with the logs? In all my projects logs have stopped showing since ``Sep 12 12:32Trouble unlinking DiscordTrying to unlink discord so that I can link another account, but its not letting me disconnect the cpostgres db service not accessible from my clientThis morning, the DB refuses to accept connections and when I checked the logs, I saw this: does thinginx revere proxy 503 errorHi! I wanted to set up a reverse NGINX proxy with mixpanel. I used the dockerfile provided by them@railway/cli not running correctly when installed as a Bun devDependencyI have `@railway/cli` installed as a `devDependency` in my project. This has worked fine with me whiBun installHi, im trying to deploy a bun app to railway, nixpacks seems to have picked it up, but is trying to