Unable to deploy app to Fly.io due to error downloading Tailwind CSS

I’ve been unable to deploy apps for over a week now due to the following error. It all started when Github has issues with GitHub Actions, which also affected Fly deployments.

I’ve tried deploying to different regions and different Elixir/Erlang version in my Dockerfile and the issue still persists.

Has anyone else run into this issue or have a resolution?

=> ERROR [builder 15/23] RUN mix assets.setup 2.0s

[builder 15/23] RUN mix assets.setup:
0.658
0.658 03:48:38.917 [debug] Downloading tailwind from https://github.com/tailwindlabs/tailwindcss/releases/download/v4.0.9/tailwindcss-linux-x64
1.952 ** (RuntimeError) Couldn’t fetch https://github.com/tailwindlabs/tailwindcss/releases/download/v4.0.9/tailwindcss-linux-x64: {true, {:error, {:shutdown, :server_closed}}}
1.952
1.952 This typically means we cannot reach the source or you are behind a proxy.
1.952 You can try again later and, if that does not work, you might:
1.952
1.952 1. If behind a proxy, ensure your proxy is configured and that
1.952 your certificates are set via OTP ca certfile overide via SSL configuration.
1.952
1.952 2. Manually download the executable from the URL above and
1.952 place it inside “_build/tailwind-linux-x64”
1.952
1.952 3. Install and use Tailwind from npmJS. See our module documentation
1.952 to learn more: tailwind v0.3.1 — Documentation
1.952
1.952 (tailwind 0.3.1) lib/tailwind.ex:369: Tailwind.fetch_body!/2
1.952 (tailwind 0.3.1) lib/tailwind.ex:236: Tailwind.install/1
1.952 (mix 1.18.3) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
1.952 (mix 1.18.3) lib/mix/task.ex:561: Mix.Task.run_alias/6
1.952 (mix 1.18.3) lib/mix/cli.ex:107: Mix.CLI.run_task/2
1.952 /usr/local/bin/mix:2: (file)

1 Like

I’ve confirmed that a new app with same Docker image, Fly region, and dependencies versions work fine.
It seems to be isolated to pre-existing apps.

It seems the issue is due to Fly’s depot still having issues with GitHub Actions. I was able to deploy my apps using fly deploy --depot=false

4 Likes

Thanks!