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
9 Replies
Percy
Percy15mo ago
Project ID: a20c8f8b-11c2-4e12-bac5-1e035834194c
knewman23
knewman23OP15mo ago
a20c8f8b-11c2-4e12-bac5-1e035834194c
Brody
Brody15mo ago
are you setting the RAILWAY_ENV variable anywhere?
knewman23
knewman23OP15mo ago
yeah I set it in the variables section .install-railway: stage: railway image: node:16.0.0 variables: RAILWAY_TOKEN: $RAILWAY_TOKEN RAILWAY_ENV: $RAILWAY_ENV RAILWAY_SERVICE_NAME: $RAILWAY_SERVICE_NAME script: - yarn global add @railway/cli - railway environment $RAILWAY_ENV - railway up --service=$RAILWAY_SERVICE_NAME -d
Brody
Brody15mo ago
and what are you setting RAILWAY_ENV to?
knewman23
knewman23OP15mo ago
in this case dev, I am trying to point to my dev environment in my project
Brody
Brody15mo ago
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
knewman23
knewman23OP15mo ago
This worked thank you!
Brody
Brody15mo ago
awesome
Want results from more Discord servers?
Add your server