elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

Broken Logs and Infrastructure tabs #26324

Open omarwaleed opened 5 years ago

omarwaleed commented 5 years ago

Kibana version: 6.5.1

Elasticsearch version: 6.5.1

Server OS version: Ubuntu 16.04

Browser version: 70.0.3538.110

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.): Docker

Describe the bug: Trying to access the logs tab in the dashboard always fails with an error message:

Uncaught Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store. (http://localhost:5601/bundles/vendors.bundle.js:72)

Clearing the session and refreshing the page doesn't fix the error

Steps to reproduce:

  1. Open Kibana
  2. Write some data to index
  3. Create visualization and save it
  4. Click on Logs OR Infrastructure tabs in navigation drawer. Kibana throws the error

Expected behavior:

Screenshots (if relevant): image

Errors in browser console (if relevant): Error: Uncaught Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store. (http://localhost:5601/bundles/vendors.bundle.js:72) at window.onerror (:5601/bundles/commons.bundle.js:3) FatalErrorsService.add @ :5601/bundles/commons.bundle.js:3 :5601/bundles/vendors.bundle.js:72 Uncaught Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store. at Object.getState (:5601/bundles/vendors.bundle.js:36) at B (:1:28201) at :1:37657 at Object.dispatch (:5601/bundles/vendors.bundle.js:36) at dispatch (:1:40300) at :5601/bundles/infra.bundle.js:11 at SafeSubscriber.dispatch [as _next] (:5601/bundles/vendors.bundle.js:36) at SafeSubscriber.__tryOrUnsub (:5601/bundles/vendors.bundle.js:36) at SafeSubscriber.next (:5601/bundles/vendors.bundle.js:36) at Subscriber._next (:5601/bundles/vendors.bundle.js:36) :5601/bundles/commons.bundle.js:3 Uncaught Error: Uncaught Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store. (http://localhost:5601/bundles/vendors.bundle.js:72) at window.onerror (:5601/bundles/commons.bundle.js:3)

Provide logs and/or server output (if relevant):

Any additional context:

elasticmachine commented 5 years ago

Pinging @elastic/infrastructure-ui

alvarolobato commented 5 years ago

We think this is an issue in Visualizations, not specific to Infra UI.

herrkutt commented 5 years ago

I get this same error when either

Version: 7.3.0
Build: 25250
Error: Uncaught Error: You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store. (https://xxxxxxxxxxxxx.us-east-1.aws.found.io:9243/built_assets/dlls/vendors.bundle.dll.js:70)
    at window.onerror (https://xxxxxxxxxxxxx.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:1871616)
    at window.onerror (https://xxxxxxxxxxxxx.us-east-1.aws.found.io:9243/bundles/commons.bundle.js:3:2067670)