# My app is not responding even with a deploy succeded

**URL:** <https://community.fly.io/t/my-app-is-not-responding-even-with-a-deploy-succeded/19796>\
**Category:** Questions / Help\
**Tags:** login-only\
**Created:** [May 10, 2024, 5:16am UTC](https://community.fly.io/t/my-app-is-not-responding-even-with-a-deploy-succeded/19796 "2024-05-10T05:16:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matheuspaesp](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/matheuspaesp/32/35785_2.png) [@matheuspaesp](https://community.fly.io/u/matheuspaesp)\
**Post date:** [May 10, 2024, 5:16am UTC](https://community.fly.io/t/my-app-is-not-responding-even-with-a-deploy-succeded/19796/1 "2024-05-10T05:16:06Z")

</div>

I have a deploy succeeded, but I can’t access my app, here is the log:

```auto
 2024-05-10T05:07:21.600 app[6e82d375b16118] gru [info] INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)

2024-05-10T05:07:21.600 app[6e82d375b16118] gru [info] INFO: Started reloader process [313] using StatReload

2024-05-10T05:07:28.505 app[6e82d375b16118] gru [info] [10.007479] Out of memory: Killed process 319 (python) total-vm:187292kB, anon-rss:90892kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:360kB oom_score_adj:0

2024-05-10T05:08:30.034 proxy[5683dd41c01348] gru [error] [PC01] instance refused connection. is your app listening on 0.0.0.0:8000? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2024-05-10T05:08:30.059 proxy[6e82d375b16118] gru [error] [PC01] instance refused connection. is your app listening on 0.0.0.0:8000? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

```

My fly.toml is like this:

```auto
[build]
  dockerfile = 'Dockerfile'
  ignorefile = '.dockerignore'

[build.args]
  ENVIRONMENT='production'

[[services]]
  internal_port = 8000
  protocol = "tcp"

  [[services.ports]]
    handlers = ["http"]
    port = "80"
    force_https = true

  [[services.ports]]
    handlers = ["tls", "http"]
    port = "443"

[[vm]]
  size = 'shared-cpu-1x'

```

Can anyone help me what am I missing?

---

<div class="post-metadata">

**Author:** ![jfent](https://avatars.discourse-cdn.com/v4/letter/j/b2d939/32.png) [@jfent](https://community.fly.io/u/jfent)\
**Post date:** [May 10, 2024, 3:41pm UTC](https://community.fly.io/t/my-app-is-not-responding-even-with-a-deploy-succeded/19796/2 "2024-05-10T15:41:19Z")

</div>

> [@matheuspaesp](#):
>
> ```auto
> 2024-05-10T05:07:28.505 app[6e82d375b16118] gru [info] [10.007479] Out of memory: Killed process 319 (python) total-vm:187292kB, anon-rss:90892kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:360kB oom_score_adj:0
> 
> 2024-05-10T05:08:30.034 proxy[5683dd41c01348] gru [error] [PC01] instance refused connection. is your app listening on 0.0.0.0:8000? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)
> 
> ```

You’re running out of memory, so the OOM killer is killing your webserver. Try scaling memory using `fly scale memory [memoryMB]` (see docs here: [Scale Machine CPU and RAM · Fly Docs](https://fly.io/docs/apps/scale-machine)).

Note, [additional memory has a cost](https://fly.io/docs/about/pricing/#started-fly-machines) (about $5 per 30 days per GB per machine).

---

<div class="post-metadata">

**Author:** ![matheuspaesp](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/matheuspaesp/32/35785_2.png) [@matheuspaesp](https://community.fly.io/u/matheuspaesp)\
**Post date:** [May 10, 2024, 5:57pm UTC](https://community.fly.io/t/my-app-is-not-responding-even-with-a-deploy-succeded/19796/3 "2024-05-10T17:57:01Z")

</div>

Got it! thank you!!!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [May 17, 2024, 5:57pm UTC](https://community.fly.io/t/my-app-is-not-responding-even-with-a-deploy-succeded/19796/4 "2024-05-17T17:57:26Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
