# Deploy Health Check fails for Elixir Phoenix app

**URL:** <https://community.fly.io/t/deploy-health-check-fails-for-elixir-phoenix-app/2637>\
**Category:** Build debugging\
**Tags:** elixir\
**Created:** [September 26, 2021, 3:40pm UTC](https://community.fly.io/t/deploy-health-check-fails-for-elixir-phoenix-app/2637 "2021-09-26T15:40:24Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kaygee](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kaygee/32/1196_2.png) [@kaygee](https://community.fly.io/u/kaygee)\
**Post date:** [September 27, 2021, 9:43pm UTC](https://community.fly.io/t/deploy-health-check-fails-for-elixir-phoenix-app/2637/5 "2021-09-27T21:43:29Z")

</div>

I knew that posting this problem would help me find the fix.

Posting led me to this thread with this answer by @Mark:

> [@Unable to deploy basic Elixir Phoenix app](https://community.fly.io/t/unable-to-deploy-basic-elixir-phoenix-app/1771/7):
>
> I noticed that your runtime.exs file is using :hello\_elixir as the application name. That needs to changed to your app name :test.

I realized almost instantly that my `config/runtime.exs` does have an error. Endpoints are configured by the web context, not the app context so I changed to configuring `ShrimpWeb.Endpoint` instead of `Shrimp.Endpoint` and it fixed the issue.

I’m sure that Chris and Mark are probably working on mistake-proofing these deploys. I’m happy to help if this is desired. I’m good at breaking things. 😉

---

_[View the full topic](https://community.fly.io/t/deploy-health-check-fails-for-elixir-phoenix-app/2637)._
