---
title: "Discussion on \"Health Check Says 200 OK but Users See Errors: How to Fix It\" | Hashnode"
description: "Discussion on \"Health Check Says 200 OK but Users See Errors: How to Fix It\". The dashboard was all green. Every health check said 200 OK. And customers could not place a single order.\nThis is one of the most common production problems I have seen in 14+ years of working with c"
url: "https://hashnode.com/posts/health-check-200-ok-but-users-see-errors/6afe737ef0c1dcaf9eb66395"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Health Check Says 200 OK but Users See Errors: How to Fix It](https://cloudtechbydevang.com/health-check-200-ok-but-users-see-errors?utm_source=hashnode&utm_medium=feed)

The dashboard was all green. Every health check said 200 OK. And customers could not place a single order. This is one of the most common production problems I have seen in 14+ years of working with c

6d ago · 7 min read · cloudtechbydevang.com  
Read the article

-   [#monitoring](https://hashnode.com/tag/monitoring)
-   [#devops](https://hashnode.com/tag/devops)
-   [#sre](https://hashnode.com/tag/sre)

## Written by

[Devang Pandya](https://hashnode.com/@cloudtechbydevang)

@cloudtechbydevang · Pune, India

  
[View profile](https://hashnode.com/@cloudtechbydevang)

Cloud | DevOps | AI made simple · 14+ yrs on AWS, GCP & Kubernetes

I help engineers learn cloud, DevOps, SRE and AI in simple English, crack interviews and follow clear roadmaps. 14+ years building and running platforms on AWS, GCP, Kubernetes and Terraform. One topic a day.

## Responses 3

Markdown supported · ⌘↵ to post

[Julian Neagu](https://hashnode.com/@julianneagulab)

[5d ago](https://hashnode.com/posts/health-check-200-ok-but-users-see-errors/6afe737ef0c1dcaf9eb66395/comment/6afffa87a902079f626b6e5b)

The point about not putting DB checks in liveness is worth calling out. Restarting every pod because the database is having a bad minute can make things much worse. Sometimes doing less is the better fix.

[OneLifeVibe](https://hashnode.com/@onelifevibe)

[6d ago](https://hashnode.com/posts/health-check-200-ok-but-users-see-errors/6afe737ef0c1dcaf9eb66395/comment/6afeb1fcf9e7ca9ea64cfc55)

This is a clear explanation of a failure mode I have seen more than once. The distinction between liveness and readiness is the part I would stress most: putting the database check in readiness keeps a pod out of rotation without triggering a restart loop, while a liveness check on the same dependency can turn a short database slowdown into a thundering herd of cold starts. I also liked the point about the password rotation runbook. A rotation that is not verified with a real transaction and a Ready pod leaves the same gap in place. One addition I would make is to cache the readiness result for a few seconds, so a burst of probes does not add load to the database it is trying to protect.

[QRiQRa Team](https://hashnode.com/@qriqra)

[6d ago](https://hashnode.com/posts/health-check-200-ok-but-users-see-errors/6afe737ef0c1dcaf9eb66395/comment/6afe7a4b0a8396bd819235b3)

The useful split here is that a 200 from a process-alive check is not a promise that the instance can do its real job. In the password-rotation story, the secrets store was updated, a service still started with the old value, and the load balancer, the scheduler, and the uptime monitor all stayed green because /health never touched the database. Putting the dependency check in readiness, not liveness, is the part that is easy to get backwards: a slow database minute should take a pod out of traffic, not restart every instance at once. Using a real 5xx when a request fails, and alerting on error rate or a synthetic checkout as well as the probe, keeps the dashboard from being the only voice in the room.
