/dependecies Endpoint Not Returning 200 After Database Recovery #730
Unanswered
poojareddy0328
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We deployed our pactbroker on Openshift. To monitor our application's health, we included /heartbeat endpoint in our health checks. As /heartbeat endpoint doesn't report the database health, we tried to use /dependencies endpoint in our readiness probe to monitor the service's status and marks the container unready. However, even after database becomes available again, the /dependencies endpoint continues to return 500 and the issue resolves only after a manual restart of the pods.
We are looking for a solution to handle this gracefully, ensuring the service recovers automatically without requiring a manual pod restart. Any suggestions or best practices to address this issue would highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions