# \#elixir

**URL:** https://community.fly.io/tag/elixir/13.md?page=1

[Latest](https://community.fly.io/latest.md) · [Categories](https://community.fly.io/categories.md) · [Tags](https://community.fly.io/tags.md)

**Page:** 2

---

## [Postgrex can't connect during release\_command (NXDOMAIN for internal DB)](https://community.fly.io/t/postgrex-cant-connect-during-release-command-nxdomain-for-internal-db/25329)

<div class="topic-metadata">

**Author:** [@silvalov](https://community.fly.io/u/silvalov)\
**Replies:** 2\
**Last updated:** [July 10, 2025, 12:29am UTC](https://community.fly.io/t/postgrex-cant-connect-during-release-command-nxdomain-for-internal-db/25329 "2025-07-10T00:29:32Z")

</div>

:red\_question\_mark: Postgrex can’t connect during Fly.io release\_command (NXDOMAIN for internal DB) Hi everyone, I’m deploying a Phoenix app to Fly.io and I’m running into this error when the release\_command tries to run…

---

## [fly deploy fails with: Failed to fetch an image or build from source](https://community.fly.io/t/fly-deploy-fails-with-failed-to-fetch-an-image-or-build-from-source/25315)

<div class="topic-metadata">

**Author:** [@Francisco](https://community.fly.io/u/Francisco)\
**Replies:** 2\
**Last updated:** [July 7, 2025, 10:32pm UTC](https://community.fly.io/t/fly-deploy-fails-with-failed-to-fetch-an-image-or-build-from-source/25315 "2025-07-07T22:32:14Z")

</div>

I’m having the same problem like the one reported in: Here is the error thrown in my machine: =\> ERROR \[internal\] load metadata for docker.io/hexpm/elixir:1.18.4-erlang-27.3.4-debian-bookworm-20250610-slim …

---

## [What are the credit limits on phoenix.new?](https://community.fly.io/t/what-are-the-credit-limits-on-phoenix-new/25209)

<div class="topic-metadata">

**Author:** [@lukeryan](https://community.fly.io/u/lukeryan)\
**Replies:** 8\
**Last updated:** [July 3, 2025, 12:31am UTC](https://community.fly.io/t/what-are-the-credit-limits-on-phoenix-new/25209 "2025-07-03T00:31:59Z")

</div>

I can’t find any documentation on how credits work on phoenix.new. How many credits do you get? How is usage calculated? How often to they reset? Is there a way to see how much you have used? Thanks!

---

## [Elixir/Phoenix startup issues, managed Postgres database](https://community.fly.io/t/elixir-phoenix-startup-issues-managed-postgres-database/25257)

<div class="topic-metadata">

**Author:** [@tyndale](https://community.fly.io/u/tyndale)\
**Replies:** 4\
**Last updated:** [July 1, 2025, 8:42pm UTC](https://community.fly.io/t/elixir-phoenix-startup-issues-managed-postgres-database/25257 "2025-07-01T20:42:21Z")

</div>

Launched a phoenix app with a managed postgres cluster. Got a 503 error. Saw in live logs that the DATABASE\_URL was unset and a crash stack. So I did: fly secrets set DATABASE\_URL="ecto://pgdb-1zvn90kjddprkpew:asdfasdf@…

---

## [phoenix.new git clone address has $RANDOM in url and does not work](https://community.fly.io/t/phoenix-new-git-clone-address-has-random-in-url-and-does-not-work/25222)

<div class="topic-metadata">

**Author:** [@jeremiahit](https://community.fly.io/u/jeremiahit)\
**Replies:** 3\
**Last updated:** [June 27, 2025, 4:52pm UTC](https://community.fly.io/t/phoenix-new-git-clone-address-has-random-in-url-and-does-not-work/25222 "2025-06-27T16:52:40Z")

</div>

When I copy the git clone address in phoenix.new it contains a $RANDOM variable. I’ve tried this across multiple browsers and clearings of browser cache, the exact string $RANDOM appears in the git clone address. This d…

---

## [fly launch generates invalid dockerfile for phoenix application](https://community.fly.io/t/fly-launch-generates-invalid-dockerfile-for-phoenix-application/25200)

<div class="topic-metadata">

**Author:** [@bings](https://community.fly.io/u/bings)\
**Replies:** 1\
**Last updated:** [June 23, 2025, 8:32pm UTC](https://community.fly.io/t/fly-launch-generates-invalid-dockerfile-for-phoenix-application/25200 "2025-06-23T20:32:13Z")

</div>

Im launching a new phoenix app with fly launch The dockerfile that is generated has the following: ARG BUILDER\_IMAGE="docker.io/hexpm/elixir:${ELIXIR\_VERSION}-erlang-${OTP\_VERSION}-debian-${DEBIAN\_VERSION}" ARG RUNNER\_…

---

## [Can Elixir DNS resolve .internal hostnames?](https://community.fly.io/t/can-elixir-dns-resolve-internal-hostnames/25191)

<div class="topic-metadata">

**Author:** [@terris](https://community.fly.io/u/terris)\
**Replies:** 6\
**Last updated:** [June 23, 2025, 4:07pm UTC](https://community.fly.io/t/can-elixir-dns-resolve-internal-hostnames/25191 "2025-06-23T16:07:13Z")

</div>

I am able to ssh into a machine running in the app “geo-demo”. I am trying to resolve “geo-db2.internal” which is in the app “geo-db2”. Are there issues connecting across apps? Resolves OK using ping: $ ping geo-db2.in…

---

## [Release command never completes - deployment times out](https://community.fly.io/t/release-command-never-completes-deployment-times-out/25187)

<div class="topic-metadata">

**Author:** [@aleo62](https://community.fly.io/u/aleo62)\
**Replies:** 10\
**Last updated:** [June 22, 2025, 8:59pm UTC](https://community.fly.io/t/release-command-never-completes-deployment-times-out/25187 "2025-06-22T20:59:37Z")

</div>

I’m trying to deploy a Phoenix app on Fly.io with a PostgreSQL database, but I keep running into a problem during the release phase — the release command just never finishes and ends up timing out. Here’s what I’ve got …

---

## [hexpm/elixir:1.18.4-erlang-27.3.4-debian-bullseye-20250610-slim not found](https://community.fly.io/t/hexpm-elixir-1-18-4-erlang-27-3-4-debian-bullseye-20250610-slim-not-found/25181)

<div class="topic-metadata">

**Author:** [@aleo62](https://community.fly.io/u/aleo62)\
**Replies:** 4\
**Last updated:** [June 22, 2025, 4:40pm UTC](https://community.fly.io/t/hexpm-elixir-1-18-4-erlang-27-3-4-debian-bullseye-20250610-slim-not-found/25181 "2025-06-22T16:40:45Z")

</div>

Hi everyone, I’m running into an issue when trying to deploy a Phoenix (Elixir) app to Fly.io using both fly deploy and fly deploy --local-only. The build process fails due to the following image: hexpm/elixir:1.18.4-…

---

## [Elixir hot code reloading](https://community.fly.io/t/elixir-hot-code-reloading/3139)

<div class="topic-metadata">

**Author:** [@user80](https://community.fly.io/u/user80)\
**Replies:** 1\
**Last updated:** [May 15, 2025, 11:29am UTC](https://community.fly.io/t/elixir-hot-code-reloading/3139 "2025-05-15T11:29:50Z")

</div>

Hello, First just wanna say what a great platform you have created. I deploy an elixir LiveView app so multi-region deployment with Fly.io is a perfect fit. However, my web app hosts long-running online party games and …

---

## [Error after deploy, WARN could not unmount /rootfs: EINVAL: Invalid argument](https://community.fly.io/t/error-after-deploy-warn-could-not-unmount-rootfs-einval-invalid-argument/19624)

<div class="topic-metadata">

**Author:** [@janjakubek](https://community.fly.io/u/janjakubek)\
**Replies:** 16\
**Last updated:** [May 13, 2025, 7:25am UTC](https://community.fly.io/t/error-after-deploy-warn-could-not-unmount-rootfs-einval-invalid-argument/19624 "2025-05-13T07:25:58Z")

</div>

Hello, I have a problem after deploying an application. After successful deployment the application does not want to start. In the log there is a warning: WARN could not unmount /rootfs: EINVAL: Invalid argument . What …

---

## [Elixir Phoenix app websocket issues](https://community.fly.io/t/elixir-phoenix-app-websocket-issues/24821)

<div class="topic-metadata">

**Author:** [@landpro](https://community.fly.io/u/landpro)\
**Replies:** 0\
**Last updated:** [May 11, 2025, 2:30pm UTC](https://community.fly.io/t/elixir-phoenix-app-websocket-issues/24821 "2025-05-11T14:30:32Z")

</div>

Hi All, It looks like my Elixir Phoenix app needs time to warm up when it’s woken up or restarted due to redeploy. Fist 3-7 minutes after app restart (due to wake up, redeploy), I have issues with websocket (phoenix li…

---

## [Any way to debug why my machine is not stopping?](https://community.fly.io/t/any-way-to-debug-why-my-machine-is-not-stopping/24761)

<div class="topic-metadata">

**Author:** [@Firesidewing](https://community.fly.io/u/Firesidewing)\
**Replies:** 0\
**Last updated:** [May 4, 2025, 2:55am UTC](https://community.fly.io/t/any-way-to-debug-why-my-machine-is-not-stopping/24761 "2025-05-04T02:55:49Z")

</div>

I have a elixir phoenix app that just doesn’t seem to be scaling down to zero, despite having large periods of time of 0 http requests. I’ve tried autostart/stop settings, I’ve tried turning off all my genservers that co…

---

## [elixir umbrella app deployment failing](https://community.fly.io/t/elixir-umbrella-app-deployment-failing/24742)

<div class="topic-metadata">

**Author:** [@najamsk](https://community.fly.io/u/najamsk)\
**Replies:** 0\
**Last updated:** [May 1, 2025, 6:10pm UTC](https://community.fly.io/t/elixir-umbrella-app-deployment-failing/24742 "2025-05-01T18:10:23Z")

</div>

Hello my simple umbrella project without ecto or any database is giving me errors while trying to run fly launch or fly deploy based on search results and co pilots suggestion I modified buildpacks but still failing to d…

---

## [Failure to redeploy a previously working Fly.io deployment](https://community.fly.io/t/failure-to-redeploy-a-previously-working-fly-io-deployment/24710)

<div class="topic-metadata">

**Author:** [@Hunterafi](https://community.fly.io/u/Hunterafi)\
**Replies:** 20\
**Last updated:** [April 29, 2025, 8:00pm UTC](https://community.fly.io/t/failure-to-redeploy-a-previously-working-fly-io-deployment/24710 "2025-04-29T20:00:54Z")

</div>

So Ive been able to push from my local version of my code to my GitHub repository and use a continues-deployment in order to keep it up to date. Since last night I keep getting this error whenever I try to deploy, either…

---

## [All my elixir projects slowly run out of memory](https://community.fly.io/t/all-my-elixir-projects-slowly-run-out-of-memory/24658)

<div class="topic-metadata">

**Author:** [@sergeisuslov](https://community.fly.io/u/sergeisuslov)\
**Replies:** 1\
**Last updated:** [April 23, 2025, 10:30pm UTC](https://community.fly.io/t/all-my-elixir-projects-slowly-run-out-of-memory/24658 "2025-04-23T22:30:00Z")

</div>

All my elixir projects slowly run out of memory. Context I have a couple of Elixir/Phoenix application with practically no load (5 visits per day). This is a typical RAM usage for 2 days window. As you can see, it slo…

---

## [Can't connect to SQL Server database](https://community.fly.io/t/cant-connect-to-sql-server-database/24408)

<div class="topic-metadata">

**Author:** [@aldrin\_ronco](https://community.fly.io/u/aldrin_ronco)\
**Replies:** 5\
**Last updated:** [April 5, 2025, 7:36am UTC](https://community.fly.io/t/cant-connect-to-sql-server-database/24408 "2025-04-05T07:36:40Z")

</div>

Trying to connect to an SQL Server database using TDS Everything is fine on development, but stop working on deploy with these errors 23:11:12.649 \[error\] Tds.Protocol (#PID\<0.1965.0\>) failed to connect: \*\* (Tds.Error)…

---

## [Problems deploying Elixir apps right now](https://community.fly.io/t/problems-deploying-elixir-apps-right-now/24405)

<div class="topic-metadata">

**Author:** [@ream88](https://community.fly.io/u/ream88)\
**Replies:** 3\
**Last updated:** [March 31, 2025, 8:13am UTC](https://community.fly.io/t/problems-deploying-elixir-apps-right-now/24405 "2025-03-31T08:13:00Z")

</div>

I’m currently encountering deployment issues with all my Elixir apps. The problem started this afternoon (CET) and are still happening right now: \[+\] Building 1.0s (2/2) FINISHED …

---

## [Can't access my app through \<app-name\>.internal domain name](https://community.fly.io/t/cant-access-my-app-through-app-name-internal-domain-name/24392)

<div class="topic-metadata">

**Author:** [@gustavohonorato](https://community.fly.io/u/gustavohonorato)\
**Replies:** 5\
**Last updated:** [March 28, 2025, 8:01pm UTC](https://community.fly.io/t/cant-access-my-app-through-app-name-internal-domain-name/24392 "2025-03-28T20:01:43Z")

</div>

I have a Phoenix app, and I’m trying to consume a REST API from another app within the same organization. According to the Fly.io documentation, I should be able to do this using https://rest-api-app-name.internal. Howev…

---

## [Elixir console error](https://community.fly.io/t/elixir-console-error/24269)

<div class="topic-metadata">

**Author:** [@cct](https://community.fly.io/u/cct)\
**Replies:** 2\
**Last updated:** [March 18, 2025, 9:42pm UTC](https://community.fly.io/t/elixir-console-error/24269 "2025-03-18T21:42:53Z")

</div>

Hello, I’m hitting an error trying to connect to one of my VMs using fly ssh console. I was following the post linked here IEx into Your Running App · Fly Docs I have 2 VMs, the app is running fine. I’ve looked through …

---

## [elixir phoenix clustered app: Node ~p not responding](https://community.fly.io/t/elixir-phoenix-clustered-app-node-p-not-responding/24161)

<div class="topic-metadata">

**Author:** [@dar](https://community.fly.io/u/dar)\
**Replies:** 0\
**Last updated:** [March 8, 2025, 5:50pm UTC](https://community.fly.io/t/elixir-phoenix-clustered-app-node-p-not-responding/24161 "2025-03-08T17:50:59Z")

</div>

%{args: \[:"maverick-00-prod-01JNVBWH9HQ30Q6BHXGYD2XGPD@fdaa:6:ee95:a7b:2f8:cbde:15b0:2"\], label: {:error\_logger, :error\_msg}, format: ~c"\*\* Node ~p not responding \*\*~n\*\* Removing (timedout) connection \*\*~n"} I have re…

---

## [Fly rollouts and PgBouncer limits](https://community.fly.io/t/fly-rollouts-and-pgbouncer-limits/24028)

<div class="topic-metadata">

**Author:** [@pepicrft](https://community.fly.io/u/pepicrft)\
**Replies:** 0\
**Last updated:** [February 24, 2025, 12:44pm UTC](https://community.fly.io/t/fly-rollouts-and-pgbouncer-limits/24028 "2025-02-24T12:44:27Z")

</div>

Hi :wave: We have an Elixir app in Fly that connects to a Supabase DB via PgBouncer. While trying to understand how to use the client connections available in the bouncer, 800, and how to make the most effective usage o…

---

## [Elixir Remote console seems not to be connected to actual app](https://community.fly.io/t/elixir-remote-console-seems-not-to-be-connected-to-actual-app/23980)

<div class="topic-metadata">

**Author:** [@enoonan](https://community.fly.io/u/enoonan)\
**Replies:** 8\
**Last updated:** [February 24, 2025, 8:53pm UTC](https://community.fly.io/t/elixir-remote-console-seems-not-to-be-connected-to-actual-app/23980 "2025-02-24T20:53:15Z")

</div>

I’m getting this error when I try to remote into my app. In this case I’m just doing a basic read from Iex. I’m about 99% certain it’s not an Ash problem (and so is the creator of Ash): iex\> MyAshResource |\> Ash.read!(a…

---

## [Managed Grafana API](https://community.fly.io/t/managed-grafana-api/23979)

<div class="topic-metadata">

**Author:** [@wende](https://community.fly.io/u/wende)\
**Replies:** 0\
**Last updated:** [February 20, 2025, 1:59pm UTC](https://community.fly.io/t/managed-grafana-api/23979 "2025-02-20T13:59:14Z")

</div>

Hi there, I’m attempting to write a prom\_ex plugin for a telemetry library. I’d like to publish a dashboard json to Managed Grafana instance on fly.io but I can’t find any API endpoints. Is there an API to programmatic…

---

## [Can't deploy Elixir application with duplicated modules](https://community.fly.io/t/cant-deploy-elixir-application-with-duplicated-modules/23857)

<div class="topic-metadata">

**Author:** [@FlavioEscobar](https://community.fly.io/u/FlavioEscobar)\
**Replies:** 2\
**Last updated:** [February 13, 2025, 9:51pm UTC](https://community.fly.io/t/cant-deploy-elixir-application-with-duplicated-modules/23857 "2025-02-13T21:51:18Z")

</div>

I have an Elixir application in which I purposely created a module with the same name of another one from a dependency. I needed a way to overwrite some behavior on a dependency and that was the easiest way I could find …

---

## [Graceful shutdown of Canary](https://community.fly.io/t/graceful-shutdown-of-canary/23880)

<div class="topic-metadata">

**Author:** [@silbermm](https://community.fly.io/u/silbermm)\
**Replies:** 0\
**Last updated:** [February 13, 2025, 5:08pm UTC](https://community.fly.io/t/graceful-shutdown-of-canary/23880 "2025-02-13T17:08:55Z")

</div>

Is there any way to control the shutdown of Canary machines? We’re seeing the Canary exit abruptly and not allowing for a clean shutdown (preferably with a timeout).

---

## [Is It Possible to Install Custom PostgreSQL Extensions on Fly.io? 🤔](https://community.fly.io/t/is-it-possible-to-install-custom-postgresql-extensions-on-fly-io/23668)

<div class="topic-metadata">

**Author:** [@itzmidinesh](https://community.fly.io/u/itzmidinesh)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 11:16am UTC](https://community.fly.io/t/is-it-possible-to-install-custom-postgresql-extensions-on-fly-io/23668 "2025-01-28T11:16:34Z")

</div>

Hi! :raised\_hands: I’m currently working on a project that requires using the Temporal Tables extension in PostgreSQL, and I’m wondering if it’s possible to install custom extensions on Fly.io’s managed PostgreSQL datab…

---

## [Calculating GPU pricing for image generation](https://community.fly.io/t/calculating-gpu-pricing-for-image-generation/23629)

<div class="topic-metadata">

**Author:** [@wceolin](https://community.fly.io/u/wceolin)\
**Replies:** 3\
**Last updated:** [January 24, 2025, 7:01pm UTC](https://community.fly.io/t/calculating-gpu-pricing-for-image-generation/23629 "2025-01-24T19:01:01Z")

</div>

I’m considering using FLAME to generate images with FLUX.1 \[schnell\] in a Phoenix app using Bumblebee. I’m trying to calculate how much it would cost to generate an image on a L40s Fly GPU to see if that’s a viable opti…

---

## [Can't launch iex session on the deployed app](https://community.fly.io/t/cant-launch-iex-session-on-the-deployed-app/23489)

<div class="topic-metadata">

**Author:** [@Wannabe](https://community.fly.io/u/Wannabe)\
**Replies:** 0\
**Last updated:** [January 15, 2025, 6:58am UTC](https://community.fly.io/t/cant-launch-iex-session-on-the-deployed-app/23489 "2025-01-15T06:58:04Z")

</div>

Hello, I have successfully deployed the app on fly.io and now I am trying to connect to my app via ssh and launch an iex session. I am following this guide: IEx into Your Running App · Fly Docs fly ssh issue --agent s…

---

## [Deploy a non-phoenix TCP app](https://community.fly.io/t/deploy-a-non-phoenix-tcp-app/23438)

<div class="topic-metadata">

**Author:** [@fabio-t](https://community.fly.io/u/fabio-t)\
**Replies:** 0\
**Last updated:** [January 12, 2025, 6:11pm UTC](https://community.fly.io/t/deploy-a-non-phoenix-tcp-app/23438 "2025-01-12T18:11:50Z")

</div>

Hi all. I have an elixir app that only uses Phoenix PubSub. With fly launch I can create a fly app, but it fails like this: Setting FLY\_API\_TOKEN secret in GitHub repository settings Set secrets on metaverse-mud: SECRET…

[Previous page](https://community.fly.io/tag/elixir/13.md?match_all_tags=true&tags%5B%5D=elixir)

[Next page](https://community.fly.io/tag/elixir/13.md?match_all_tags=true&page=2&tags%5B%5D=elixir)
