Kibana: Random "query timed out" toasts while using Kibana

Created on 16 Sep 2020  路  4Comments  路  Source: elastic/kibana

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.

AppServices bug

Most helpful comment

Found the issue, will have a PR fixing it soon

All 4 comments

Pinging @elastic/kibana-app-arch (Team:AppArch)

I also had this popup, no clear pattern, somehow it seemed they popup when I returned to a Kibana window after a while

I didn't interact with the Kibana window, and no network requests were started after the initial fetch of the data, after a while those popups appear
Bildschirmfoto 2020-09-17 um 09 58 54

Found the issue, will have a PR fixing it soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spalger picture spalger  路  3Comments

socialmineruser1 picture socialmineruser1  路  3Comments

cafuego picture cafuego  路  3Comments

bradvido picture bradvido  路  3Comments

snide picture snide  路  3Comments