Trying to get the health checks on a web app working. We have an endpoint at /up that returns a 200 when you hit it and it’s confirmed to be working in a browser. However, I cannot get it to work as part of a deployment. It is more or less a cut and paste from the documentation. What am I missing?
⠇ [1/2] Waiting for 32874d32a93918 [app] to become healthy: 0/1
[2/2] Waiting for job
I never see a log entry for a request to /up (triggered from the http_service.checks). However, if I manually open a browser or cURL to /up then I see a request log from the app.
✖ [1/2] Machine SNIP [app] update failed: timeout reached waiting for health checks to pass for machine SNIP: failed to get VM SNIP: Get "https://api.machines.dev/v1/apps/SNIP": net/http: re…
[2/2] Waiting for job
-------
Checking DNS configuration for SNIP
Error: timeout reached waiting for health checks to pass for machine SNIP: failed to get VM SNIP: Get "https://api.machines.dev/v1/apps/SNIP": net/http: request canceled
Your machine never reached the state "%s".
You can try increasing the timeout with the --wait-timeout flag