Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Registry Health Check API is returning wrong response #987

Open
Sreejit-K opened this issue Apr 3, 2024 · 0 comments
Open

[BUG]: Registry Health Check API is returning wrong response #987

Sreejit-K opened this issue Apr 3, 2024 · 0 comments

Comments

@Sreejit-K
Copy link

What is the bug related to?

Registry Core

What went wrong?

Registry Health Check API is returning wrong response even when all the services are healthy. Attaching the reponse here

{"id":"sunbird-rc.registry.health","ver":"1.0","ets":1712135585121,"params":{"resmsgid":"","msgid":"afe71eac-36fe-4f92-ba80-c2c3f46fde00","err":"","status":"SUCCESSFUL","errmsg":""},"responseCode":"OK","result":{"name":"sunbirdrc-registry-api","healthy":false,"checks":[{"name":"sunbird.elastic.service","healthy":true,"err":"","errmsg":""},{"name":"sunbird.keycloak.service","healthy":false,"err":"CONNECTION_FAILURE","errmsg":"javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized"},{"name":"DID_SERVICE","healthy":false,"err":"","errmsg":""},{"name":"CREDENTIAL_SCHEMA_SERVICE","healthy":false,"err":"","errmsg":""},{"name":"CREDENTIAL_SERVICE","healthy":false,"err":"","errmsg":""}]}}

What did you expect to see?

A bug should not have happened, instead ...

Additional Context

No response

Relevant logs/output (if any)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant