arnoldwolfe

arnoldwolfe

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.5.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)

Marked As Solved

arnoldwolfe

arnoldwolfe

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

Where Next?

Popular in Questions Top

jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New

Other popular topics Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

We're in Beta

About us Mission Statement