Skip to content

Random "query timed out" toasts while using Kibana #77579

@flash1293

Description

@flash1293

Kibana version: master

Describe the bug:

When navigating around Visualize/Dashboard, a "query timed out" toast is popping up from time to time. I didn't find a reliable way to reproduce it, but it should be fairly common when creating visualizations, adding them to the dashboard, filtering etc. (basically using Kibana like a regular user). It can never be matched to the current state of the UI - e.g. the toast is shown even if the chart in Visualize is rendered correctly.

Expected behavior:

Toast should only be shown if there is actually information missing in the current view.

Screenshots (if relevant):

Screenshot 2020-09-16 at 10 24 24

Errors in browser console (if relevant):

There is also an error in the console, doesn't seem like to point at the root cause and might be a separate smaller issue:

Warning: React does not recognize the `toastMessage` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `toastmessage` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    in div (created by EuiToast)
    in EuiToast (created by EuiGlobalToastList)
    in EuiGlobalToastListItem (created by EuiGlobalToastList)
    in div (created by EuiGlobalToastList)
    in EuiGlobalToastList (created by GlobalToastList)
    in GlobalToastList
    in EuiContext (created by I18nContext)
    in PseudoLocaleWrapper (created by I18nProvider)
    in IntlProvider (created by I18nProvider)
    in I18nProvider (created by I18nContext)
    in I18nContext

Any additional context:

Maybe in-flight requests are not reliably cancelled at all times? Not sure how to debug as I'm not super familiar with async search.

Metadata

Metadata

Assignees

Labels

bugFixes for quality problems that affect the customer experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions