Kibana: Navigating to discover, sometimes throws error unknown provider in browser console

Created on 1 Aug 2019  ยท  13Comments  ยท  Source: elastic/kibana

Version: 7.3
OS: Darwin

I see this error sometimes in the console when navigating to Discover, not sure what is causing it:

http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js 280:155606 Error: [$injector:unpr] Unknown provider: debounceProvider <- debounce <- fixedScrollDirective
11:56:11 โ”‚ https://errors.angularjs.org/1.7.9-local+sha.ca61b0e84/$injector/unpr?p0=debounceProvider%20%3C-%20debounce%20%3C-%20fixedScrollDirective
11:56:11 โ”‚ at http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:1181
11:56:11 โ”‚ at http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:48398
11:56:11 โ”‚ at Object.getService [as get] (http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:52251)
11:56:11 โ”‚ at http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:48601
11:56:11 โ”‚ at getService (http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:52251)
11:56:11 โ”‚ at injectionArgs (http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:52780)
11:56:11 โ”‚ at Object.invoke (http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:53144)
11:56:11 โ”‚ at http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:73303
11:56:11 โ”‚ at forEach (http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:2791)
11:56:11 โ”‚ at Object. (http://localhost:5620/built_assets/dlls/vendors.bundle.dll.js:281:73214)

Screenshot at Aug 01 14-22-13

Discover AppServices KibanaApp bug

All 13 comments

Pinging @elastic/kibana-app

Pinging @elastic/kibana-app-arch

@lukeelmers Another fallout of missing providers?

@liza-mae Is this something you are just seeing periodically, or have you yet run into any way to reproduce it consistently? I've been trying to reproduce on master and 7.3.0 but haven't had any luck yet.

@lukeelmers I would have to go back and check if I can get some concrete steps, but for me it happened once right away navigating to Discover and then I noticed it would happen periodically, the issue still appears on latest 7.3 and master.

Which browser are you using?

I tested this on master locally & on a 7.3.0 cloud deployment, on Chrome OSX, and wasn't able to reproduce.

@timroes or @kertal are either of you seeing this issue?

I am seeing a slightly different variation also now, this is happening navigating to login, monitoring, siem. Latest master.

vendors.bundle.dll.js:499 Uncaught (in promise) Error: [$injector:unpr] Unknown provider: regionmapsConfigProvider <- regionmapsConfig
http://errors.angularjs.org/1.6.9/$injector/unpr?p0=regionmapsConfigProvider%20%3C-%20regionmapsConfig
at vendors.bundle.dll.js:499
at vendors.bundle.dll.js:499
at Object.getService [as get] (vendors.bundle.dll.js:499)
at vendors.bundle.dll.js:499
at Object.getService [as get] (vendors.bundle.dll.js:499)
at _callee$ (commons.bundle.js:3)
at tryCatch (vendors.bundle.dll.js:552)
at Generator.invoke [as _invoke] (vendors.bundle.dll.js:552)
at Generator.prototype. [as next] (vendors.bundle.dll.js:552)
at asyncGeneratorStep (commons.bundle.js:3)

Screenshot at Aug 05 11-36-39

I haven't found a way to reproduce it manually, but you can see it in the console of the functional test
Bildschirmfoto 2019-08-05 um 19 39 01
also I've got an idea where it comes from, will be history when deangularized

I will file a separate issue for the other one.

Related: #42155

Found a way to consistently reproduce this failure: Checkout #43584 and try to run the a11y tests. Only happens when running the tests, not when navigating the app as a real user.

To run the tests you can use:

node scripts/functional_tests_server --config test/accessibility/config.ts
node scripts/functional_test_runner.js --config test/accessibility/config.ts

You get the same error if you rebase with upstream/master too.

CC @spalger @bhavyarm

@spalger how do we get around this problem so we can add more accessibility tests? Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlexIoannides picture AlexIoannides  ยท  138Comments

hvisage picture hvisage  ยท  170Comments

tbragin picture tbragin  ยท  81Comments

cff3 picture cff3  ยท  83Comments

seti123 picture seti123  ยท  100Comments