4 months ago
Our GitHub project (a Python project) generates a Docker image, which is then pushed to Railway in our GH workflow script. We've had a dozen successful runs of our workflow script. As of today it's failing:
railway redeploy --yes --service [our project uuid]
shell: /usr/bin/bash -e {0}
env:
RAILWAY_TOKEN: ***
Failed to fetch: error decoding response body
I tried visiting the GraphQL endpoint that was in the error (https://backboard.railway.com/graphql/v2) in my browser (at home in the Bay Area) and am seeing a Cloudflare block page
5 Replies
4 months ago
Are you using the latest version of the Railway CLI in GitHub? If not, could you try to update it?
Status changed to Awaiting User Response railway[bot] • 4 months ago
4 months ago
Our GH workflow isn't caching, so it's pulling the latest version:
Here's our steps excerpt
steps:
- name: Install Railway CLI
run: npm install -g @railway/cli
Status changed to Awaiting Railway Response railway[bot] • 4 months ago
4 months ago
2025-02-11T16:59:43.3586064Z Current runner version: '2.322.0'
2025-02-11T16:59:43.3629335Z ##[group]Operating System
2025-02-11T16:59:43.3630217Z Ubuntu
2025-02-11T16:59:43.3630847Z 24.04.1
2025-02-11T16:59:43.3631388Z LTS
2025-02-11T16:59:43.3631953Z ##[endgroup]
2025-02-11T16:59:43.3632587Z ##[group]Runner Image
2025-02-11T16:59:43.3633567Z Image: ubuntu-24.04
2025-02-11T16:59:43.3634248Z Version: 20250209.1.0
2025-02-11T16:59:43.3635444Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250209.1/images/ubuntu/Ubuntu2404-Readme.md
2025-02-11T16:59:43.3637036Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250209.1
2025-02-11T16:59:43.3638117Z ##[endgroup]
2025-02-11T16:59:43.3638688Z ##[group]Runner Image Provisioner
2025-02-11T16:59:43.3639344Z 2.0.422.1
2025-02-11T16:59:43.3639972Z ##[endgroup]
2025-02-11T16:59:43.3642470Z ##[group]GITHUB_TOKEN Permissions
2025-02-11T16:59:43.3644979Z Actions: write
2025-02-11T16:59:43.3645816Z Attestations: write
2025-02-11T16:59:43.3646612Z Checks: write
2025-02-11T16:59:43.3647119Z Contents: write
2025-02-11T16:59:43.3647747Z Deployments: write
2025-02-11T16:59:43.3648345Z Discussions: write
2025-02-11T16:59:43.3648922Z Issues: write
2025-02-11T16:59:43.3649522Z Metadata: read
2025-02-11T16:59:43.3650077Z Packages: write
2025-02-11T16:59:43.3650636Z Pages: write
2025-02-11T16:59:43.3651255Z PullRequests: write
2025-02-11T16:59:43.3651853Z RepositoryProjects: write
2025-02-11T16:59:43.3652505Z SecurityEvents: write
2025-02-11T16:59:43.3653546Z Statuses: write
2025-02-11T16:59:43.3654173Z ##[endgroup]
2025-02-11T16:59:43.3657296Z Secret source: Actions
2025-02-11T16:59:43.3658098Z Prepare workflow directory
2025-02-11T16:59:43.3979071Z Prepare all required actions
2025-02-11T16:59:43.4071664Z Complete job name: deploy
2025-02-11T16:59:43.4902220Z ##[group]Run npm install -g @railway/cli
2025-02-11T16:59:43.4903130Z [36;1mnpm install -g @railway/cli[0m
2025-02-11T16:59:43.5305018Z shell: /usr/bin/bash -e {0}
2025-02-11T16:59:43.5306469Z ##[endgroup]
2025-02-11T16:59:46.5447661Z
2025-02-11T16:59:46.5448174Z added 17 packages in 3s
2025-02-11T16:59:46.5448571Z
2025-02-11T16:59:46.5448771Z 3 packages are looking for funding
2025-02-11T16:59:46.5449261Z run npm fund
for details
2025-02-11T16:59:46.5655640Z ##[group]Run railway redeploy --yes --service [REDACTED]
2025-02-11T16:59:46.5656278Z [36;1mrailway redeploy --yes --service [REDACTED][0m
2025-02-11T16:59:46.5712918Z shell: /usr/bin/bash -e {0}
2025-02-11T16:59:46.5713485Z env:
2025-02-11T16:59:46.5714053Z RAILWAY_TOKEN: ***
2025-02-11T16:59:46.5714315Z ##[endgroup]
2025-02-11T16:59:48.0791301Z ##[group]Run railway redeploy --yes --service [REDACTED]
2025-02-11T16:59:48.0791893Z [36;1mrailway redeploy --yes --service[REDACTED][0m
2025-02-11T16:59:48.0847437Z shell: /usr/bin/bash -e {0}
2025-02-11T16:59:48.0847709Z env:
2025-02-11T16:59:48.0848200Z RAILWAY_TOKEN: ***
2025-02-11T16:59:48.0848442Z ##[endgroup]
2025-02-11T16:59:48.2069214Z Failed to fetch: error decoding response body
2025-02-11T16:59:48.2070597Z
2025-02-11T16:59:48.2071321Z Caused by:
2025-02-11T16:59:48.2072937Z 0: error decoding response body
2025-02-11T16:59:48.2074870Z 1: expected value at line 1 column 1
2025-02-11T16:59:48.2126138Z ##[error]Process completed with exit code 1.
2025-02-11T16:59:48.2183562Z Cleaning up orphan processes
4 months ago
Nevermind. It now works. No explanation.
4 months ago
Ok, thank you for the update. We'll close out this thread, but feel free to ping us if you experience this again.
Status changed to Awaiting User Response railway[bot] • 4 months ago
Status changed to Solved christian • 4 months ago