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

Better messaging around reporting timeouts #17949

Closed
elasticmachine opened this issue Feb 10, 2017 · 4 comments
Closed

Better messaging around reporting timeouts #17949

elasticmachine opened this issue Feb 10, 2017 · 4 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Cloud Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@elasticmachine
Copy link
Contributor

Original comment by @w33ble:

Currently, if the default xpack.reporting.queue.timeout isn't high enough (30s by default), and the worker times out, the job is eventually aborted and an error message is shown.

!LINK REDACTED

It's not really clear to the user what the "Max attempts" message means though. The error itself is coming from esqueue, but if a clean, universal error message can't be found, Reporting could replace it with its own message instead.

@elasticmachine
Copy link
Contributor Author

Original comment by @ycombinator:

I'm not sure where the best place in code would be to emit this message (esqueue or reporting) but I think an ideal error message would be actionable for the user. I don't see why we couldn't just use your explanation from the description, so maybe something like:

Report generation timed out. Increase xpack.reporting.queue.timeout (default: 30s) in your Kibana config and try again.

@elasticmachine
Copy link
Contributor Author

Original comment by @ppf2:

I am adding a cloud tag to this. I just came across this in my cloud instance which I had a 30m-interval job for a report that would generally only take 2+ mins to generate (well, it still throws that 502 error which is a known issue with watcher integration, but at least the reporting generation will still complete successfully).

!LINK REDACTED

For whatever reason, it no longer completes and throw the generic max # of retries error. I just assume that my instance is being affected by noisy neighbors since I don't have anything else (or any other reporting job running on the instance).

Note that even if we change that message in reporting to the proposed "Report generation timed out. Increase xpack.reporting.queue.timeout (default: 30s) in your Kibana config and try again.", this will not help Elastic Cloud users because Elastic Cloud users currently do not have the ability to change Kibana yml configurations (so even if they have an explanation of the message above, it's not something they can fix on their own - LINK REDACTED) ...

@elasticmachine
Copy link
Contributor Author

Original comment by @ppf2:

+1 We certainly have customers running into this and not sure what to do about the max attempt reached message. It will be nice to provide more details with the error.

@elasticmachine elasticmachine added Team:Cloud :Sharing (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead bug Fixes for quality problems that affect the customer experience labels Apr 24, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed :Sharing labels Sep 13, 2018
@tsullivan
Copy link
Member

Many enhancements have gone to address this since this issue was filed:

These will change some types of failures from a timeout message to a more meaningful messages, and adds extra logging for the failures in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Cloud Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants