Health check on port 8080 has failed. Your app is not responding properly. #6368
Unanswered
alxvallejo
asked this question in
Q&A
Replies: 2 comments
-
Literally in the same boat. Wondering the same thing. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you use the [[http_service.checks]]
interval = "5s"
grace_period = "4s"
method = "post"
path = "/health"
protocol = "http"
timeout = "5s"
tls_skip_verify = false
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Not sure what changed, other than a failed and then fixed migration in the deployment, but if I inspect the VM via
flyctl vm status {recentBuildVmId}
then I see this:And from the fly.io deployment logs:
So my first question is - why is there a healthcheck on port 8080 when the public port is 80/443?
Also, under
fly.toml
, why is the path for the healthcheck/healthcheck
, when that path doesn't exist in my application? I tried setting it to the root path but same error.The other thing I noticed, and I didn't change it, is that the internal port in
fly.toml
was originally set to8_080
. Weird. So I changed it to8080
but same error.Not sure what other information would be required here, but it does run locally. Maybe the migrations screwed something up? Not sure how to debug from here though.
Beta Was this translation helpful? Give feedback.
All reactions