Failed to stream build logs: Failed to retrieve build log

nikolandgraf
PROOP

16 days ago

I know that this issue is supposed to be solved, but i do see these errors in my github action.

I have tried both: Installing the latest CLI via NPM and installing the latest CLI via the github action:

`

container: ghcr.io/railwayapp/cli:latest

`

Can you please check if the latest CLI is working as desired?

9 Replies

Railway
BOT

16 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


16 days ago

Hey there, which errors are you running into?
I don't see any attached to your message.


Status changed to Awaiting User Response Railway 16 days ago


nikolandgraf
PROOP

16 days ago

Every now and then (in around 25% of cases) we are running into these errors

```
Uploading...

Build Logs: https://railway.com/project/7089c96b-6f26-46e7-885c-213d2c454eeb/service/c3965d15-1da3-4bdd-94e7-e91a57387903?id=a17b87ab-ef59-45e5-8421-14c0018226c7&

CI mode enabled

Failed to stream build logs: Failed to retrieve build log

Error: Process completed with exit code 1.
```


Status changed to Awaiting Railway Response Railway 16 days ago


16 days ago

Which version of the CLI are you currently on?
You can find that out with railway --version


Status changed to Awaiting User Response Railway 16 days ago


nikolandgraf
PROOP

16 days ago

we are using the container: ghcr.io/railwayapp/cli:latest in our workflow file
It is: 4.11.0 when I print `railway --version`


Status changed to Awaiting Railway Response Railway 16 days ago


nikolandgraf
PROOP

16 days ago

we are using the container: ghcr.io/railwayapp/cli:latest in our workflow file
It is: 4.11.0 when I print railway --version


Railway
BOT

16 days ago

Hello!

We're acknowledging your issue and attaching a ticket to this thread.

We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.

Please reply to this thread if you have any questions!


nikolandgraf
PROOP

8 days ago

It happening now in more than 75% of cases. So I can hardly make a deployment. Is there a specific CLI version that works?


nikolandgraf

It happening now in more than 75% of cases. So I can hardly make a deployment. Is there a specific CLI version that works?

jedisange
HOBBY

2 days ago

Wanted to comment here as I'm getting this as well with some frequency. I'm using a project token. I'm doing a fresh install of the railway CLI everytime. This is what my deploy-backend looks like in github actions. I have also confirmed the version is the latest (4.11.0 as of today).

---

name: Deploy Backend

on:

  workflow_call:

jobs:

  deploy-backend:

    runs-on: ubuntu-latest

    steps:

      - name: Checkout code

        uses: actions/checkout@v4

      - name: Download backend build artifacts

        uses: actions/download-artifact@v4

        with:

          name: backend-dist

          path: dist/apps/backend

      - name: Install Railway CLI

        run: npm install -g @railway/cli

      - name: Check Railway version

        run: railway --version

      - name: Deploy to Railway

        run: railway up --service=${{ secrets.RAILWAY_SERVICE_ID }} --no-gitignore

        env:

          RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}


Loading...
Failed to stream build logs: Failed to retrieve build log - Railway Help Station