I recently renamed my main web process from “web” to “app”, because this seemed to be what fly was recommending by default.
However, since I’ve done that, I can’t get health checks to pass. They are failing with the following error:
Error: error while watching health checks: All attempts fail:
#1: failed to get VM 9185929c964e08: Get "https://api.machines.dev/v1/apps/my-app-name/machines/9185929c964e08": net/http: request canceled
#2: context deadline exceeded
When I look at the logs on the VM everything looks fine, and it seems to be an issue accessing the machine itself? Also I am using Apps v2, so am not sure about the “v1” in the URL or if that’s maybe related.
I have tried cloning the machine and get the same result.