Fly app keeps failing the health check

My fly app failed the health check then it worked again then it failed again. See the log.

My fly.toml

app = ""
primary_region = "fra"
kill_signal = "SIGINT"
kill_timeout = "5s"

  auto_rollback = true

  FLY = "true"
  PORT = "8080"

  protocol = "tcp"
  internal_port = 8080
  processes = ["app"]

    port = 80
    handlers = ["http"]
    force_https = true

    port = 443
    handlers = ["tls", "http"]
    type = "connections"
    hard_limit = 200
    soft_limit = 150

    interval = "15s"
    timeout = "2s"
    grace_period = "1s"
    restart_limit = 0

    interval = "10s"
    timeout = "5s"
    grace_period = "1m0s"
    restart_limit = 0
    method = "get"
    path = "/healthcheck"
    protocol = "http"

How could I debug it?

same here, it also gets stuck at “Pulling container image” very often after deployment.

Also having problems with V1 deploys.

#14 547.7 info There appears to be trouble with your network connection. Retrying…

Quite an interesting issue. I deployed with the V2 app. Any idea how to debug this?

Thanks for sharing your fly.toml. Can you try to verify app logs around the time these issues happened? You can click on “View logs at the time” to see if you can spot any possible issues such as your app stopping to listen or your app not responding to HTTP requests (maybe for being busy).


That’s definitely not great. Does that happen on v1 or v2 apps? Do you happen to notice specific regions being affected by that?

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