Prompt
Why are my HTTP checks passing but the app is broken?
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
This usually means your HTTP check is only testing “can I get an HTTP response?”, not “is the app actually healthy and serving the right thing?”
Common reasons:
1) The server responds, but the app is internally broken
Examples:
- the web server (Nginx/Apache/load balancer) is up
- the app process is running
- but the backend logic, database, cache, or dependencies are failing
So /health or / still returns 200 OK, but real user requests fail.
2) Your health check is too shallow
A basic HTTP check often verifies:
- TCP port is open
- endpoint returns a status code
- response arrives within timeout
It usually does not validate:
- database connectivity
- auth/session flow
- downstream APIs
- correct content in the response
- business logic
3) The endpoint you’re checking isn’t representative
If you check a static or cached route, it may pass while:
- dynamic pages fail
- only certain users/tenants are broken
- only POST/PUT flows are broken
- one region/node is bad
4) Load balancer / reverse proxy is healthy, app behind it is not
The proxy can answer health checks while the application container/pod is:
- crash-looping
- partially initialized
- stuck on startup
- returning fallback pages
5) Your check accepts the wrong success criteria
For example:
- checking only for
200 - ignoring redirects to error pages
- ignoring a generic “OK” page
- not verifying expected content or JSON fields
What to do
- Make health checks deeper but still cheap
- verify critical dependencies
- check a real application path
- confirm expected response content, not just status code
- Split checks into:
- liveness: “is the process alive?”
- readiness: “can it serve traffic?”
- Add synthetic transaction checks for real user flows
- Look at app logs, dependency metrics, and backend health, not just HTTP status
If you want, I can help you design a better health check for your specific stack (Kubernetes, Docker, AWS ALB, Nginx, etc.).