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

Telescope States: 500 Error when no connection to OpenSearch #271

Open
mgdaily opened this issue Sep 6, 2023 · 0 comments
Open

Telescope States: 500 Error when no connection to OpenSearch #271

mgdaily opened this issue Sep 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mgdaily
Copy link
Contributor

mgdaily commented Sep 6, 2023

/api/telescope_states returns a 500 (OpenSearchException) when there is no available connection to OpenSearch. This is easiest illustrated by running the ocs_example docker stack and navigating to http://localhost:8000/api/telescope_states

The desired behavior is to return an empty JSON object response and/or meaningful error message for clients wishing to use the endpoint.

@mgdaily mgdaily added the bug Something isn't working label Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants