a month ago
I'm trying to set env vars in my GitHub Action but continuously get timeout errors for the following CLI command:
RAILWAY_TOKEN=<token> railway variables --service <service_id> --environment <env_id> --set "SENTRY_RELEASE=api-test"
Failed to fetch: error sending request for url (https://backboard.railway.com/graphql/v2)
Caused by:
0: error sending request for url (https://backboard.railway.com/graphql/v2)
1: operation timed out
The issue also exists when trying through my local terminal and has persisted for >72h now.
There is also this GitHub issue for almost 2 months now: https://github.com/railwayapp/cli/issues/655
7 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Error: Redis initialization failed: Error: Connection timeout
🧵 Error logging in to CLI. Please try again with
--browserless
If you find the answer from one of these, please let us know by solving the thread!
a month ago
This seems to be the same issue I have:
railway/cli not working in Github Actions - Timeout
3 months later it is still not fixed tho, and apparently not even being worked on.
a month ago
Hi there, could you:
try using
--skip-deploysto confirm the issuelink the service you're trying to deploy?
Status changed to Awaiting User Response Railway • about 1 month ago
a month ago
Thanks for getting back to me!
I have tried --skip-deploys which resolved the error locally but not in my GitHub Action.
I don't see an option to link a service to an existing thread. The error happens for all of the services in my account. Hope this helps.
Status changed to Awaiting Railway Response Railway • about 1 month ago
Status changed to Awaiting User Response Railway • about 1 month ago
a month ago
Status changed to Awaiting Railway Response Railway • 30 days ago
a month ago
For now, the timeout is expected. Our gateway has a timeout, and if your deploy takes longer than our timeout, you will get a 504. So, using that flag is going to be the recommended approach.
Status changed to Awaiting User Response Railway • 30 days ago
Status changed to Solved brody • 30 days ago