Fix 502 errors during Fly.io proxy deploys #131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/deploy-healthcheck-race"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/healthz) now returns 503 until Tailscale is connectedstart.shcreates/tmp/tailscale-readysentinel aftertailscale upsucceedsPreviously, nginx passed the health check immediately, Fly.io routed traffic to the new machine, but MagicDNS wasn't available yet — causing upstream DNS timeouts and 502s on every request until Tailscale connected.
Deployment and Testing
fly deployfromfly/directoryfly logs