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

[ML] Improve error handling in Jobs list from failed requests #24394

Closed
peteharverson opened this issue Oct 23, 2018 · 2 comments
Closed

[ML] Improve error handling in Jobs list from failed requests #24394

peteharverson opened this issue Oct 23, 2018 · 2 comments
Labels

Comments

@peteharverson
Copy link
Contributor

Kibana version: 7.0.0-alpha1-SNAPSHOT

Elasticsearch version: 7.0.0-alpha1-SNAPSHOT

Occasionally the Jobs list will fail to load when a server-side error occurs during the request for data, but rather than the user being presented with an error message, an empty list is displayed saying 'No items found'. The user is given no indication that the request failed, with errors just displayed in the browser console. The list will often display again correctly on a subsequent refresh.

For example, the following screenshot was taken from a deployment with 200 jobs, when the Jobs list failed to load after switching back to the Job Management tab from the Anomaly Explorer. An error {statusCode: 503, error: "Service Unavailable", message: "[search_phase_execution_exception] "} was displayed in the browser console:

search_error

If possible, when a server-side request fails, for example due to a failed Elasticsearch query, the error should be propagated back to the client and the user presented with a suitable error message.

cc @stevedodson

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

@peteharverson
Copy link
Contributor Author

Closing as client side error handling has been improved by #76743, so details on the error are now propagated back to the user in a toast notification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants