Health endpoint fails


#1

When I go to /health/ready endpoit it returs status:

{
  "errors": {
    "database": "bad connection"
  }
}

In localhost everything is OK, but in prod I get this error, no logs about it…

Everything else works well…


#2

More context please. Version, configuration, logs…


#3

RC 06 version, there are no errors, http status 503 message “bad connection”. When app starts this endpoint works well, but after some time connection dies and ping doesn’t reconnect it and error appears


#4

Experiment with one of those settings: https://www.ory.sh/docs/ecosystem/persistence#postgresql


#5

It looks it helped. Thanks very much!

Maybe should add to docs this issue as a notification or something…