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

Please close - Duplicate of #621: (Intermittent: Dashboard will not populate when manually refreshing) #715

Closed
cjchand opened this issue Nov 21, 2013 · 1 comment

Comments

@cjchand
Copy link

cjchand commented Nov 21, 2013

More times than not, when I manually reload the URL for my dashboard in Kibana, the framework of the dashboard (e.g.: the rows, the query/filtering panel) will show, but none of the panels show up. Reloading multiple times will eventually get things working again.

The issue is that the JS appears to be having issues. Looking in the console of my browser's dev tools, I see errors like this, though the exact wording varies from browser to browser (this one is from Safari):

    [Warning] Invalid CSS property declaration at: * (bootstrap.dark.min.css, line 9, x148)
    [Error] Error: 'undefined' is not an object (evaluating 'a.current.services.filter')
    http://10.194.190.245/kibana3/app/app.js?r=928332b:20:8897
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10326
    e@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10435
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:7685
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10326
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:9799
    c@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:8615
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:9793
    e@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10435
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:21846
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:23659
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:6:56581
    n@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:20531
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15869
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15453
    h@http://10.194.190.245/kibana3/app/app.js?r=928332b:20:27627
    http://10.194.190.245/kibana3/app/app.js?r=928332b:20:28175
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1276
    $eval@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9796
    $apply@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9908
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1257
    execCb@http://10.194.190.245/kibana3/vendor/require/require.js:4:13374
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:7620
    http://10.194.190.245/kibana3/vendor/require/require.js:4:9888
    http://10.194.190.245/kibana3/vendor/require/require.js:4:761
    http://10.194.190.245/kibana3/vendor/require/require.js:4:10268
    each@http://10.194.190.245/kibana3/vendor/require/require.js:4:283
    emit@http://10.194.190.245/kibana3/vendor/require/require.js:4:10239
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:8163
    enable@http://10.194.190.245/kibana3/vendor/require/require.js:4:10138
    init@http://10.194.190.245/kibana3/vendor/require/require.js:4:6721
    o@http://10.194.190.245/kibana3/vendor/require/require.js:4:5264
    completeLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:12593
    onScriptLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:13536
        (anonymous function) (app.js, line 7)
    [Error] Error: Circular dependency: 
    c@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:8565
    dash_load@http://10.194.190.245/kibana3/app/app.js?r=928332b:20:3450
    http://10.194.190.245/kibana3/app/app.js?r=928332b:20:5456
    http://10.194.190.245/kibana3/app/app.js?r=928332b:8:14378
    i@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:3650
    i@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:3650
    http://10.194.190.245/kibana3/app/app.js?r=928332b:8:3921
    $eval@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9796
    $digest@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:8669
    $apply@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9951
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:14795
    r@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:16199
    onreadystatechange@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:16834
        (anonymous function) (app.js, line 7)
    [Error] Error: Circular dependency: 
    c@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:8565
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:9793
    e@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10435
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:21846
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:23659
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:6:56581
    n@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:20531
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15869
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15453
    h@http://10.194.190.245/kibana3/app/app.js?r=928332b:20:27627
    http://10.194.190.245/kibana3/app/app.js?r=928332b:20:28175
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1276
    $eval@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9796
    $apply@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9908
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1257
    execCb@http://10.194.190.245/kibana3/vendor/require/require.js:4:13374
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:7620
    enable@http://10.194.190.245/kibana3/vendor/require/require.js:4:10138
    init@http://10.194.190.245/kibana3/vendor/require/require.js:4:6721
    http://10.194.190.245/kibana3/vendor/require/require.js:4:11829
        (anonymous function) (app.js, line 7)
    [Error] Error: Circular dependency: 
    c@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:8565
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:9793
    e@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10435
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:21846
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:23659
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:6:56581
    n@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:20531
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15869
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15453
    h@http://10.194.190.245/kibana3/app/app.js?r=928332b:20:27627
    http://10.194.190.245/kibana3/app/app.js?r=928332b:20:28175
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1276
    $eval@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9796
    $apply@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9908
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1257
    execCb@http://10.194.190.245/kibana3/vendor/require/require.js:4:13374
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:7620
    http://10.194.190.245/kibana3/vendor/require/require.js:4:9888
    http://10.194.190.245/kibana3/vendor/require/require.js:4:761
    http://10.194.190.245/kibana3/vendor/require/require.js:4:10268
    each@http://10.194.190.245/kibana3/vendor/require/require.js:4:283
    emit@http://10.194.190.245/kibana3/vendor/require/require.js:4:10239
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:8163
    enable@http://10.194.190.245/kibana3/vendor/require/require.js:4:10138
    init@http://10.194.190.245/kibana3/vendor/require/require.js:4:6721
    o@http://10.194.190.245/kibana3/vendor/require/require.js:4:5264
    completeLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:12593
    onScriptLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:13536
        (anonymous function) (app.js, line 7)
    [Error] Error: Circular dependency: histogramChartDirective
    c@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:8565
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:9793
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:13738
    forEach@[native code]
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:6:56479
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:13702
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10326
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:9799
    c@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:8615
    F@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:19479
    D@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:16525
    B@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15960
    B@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:16071
    z@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:14367
    g@http://10.194.190.245/kibana3/app/app.js?r=928332b:20:26824
    http://10.194.190.245/kibana3/app/app.js?r=928332b:20:28801
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1276
    $eval@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9796
    $apply@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9908
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1257
    execCb@http://10.194.190.245/kibana3/vendor/require/require.js:4:13374
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:7620
    http://10.194.190.245/kibana3/vendor/require/require.js:4:9888
    http://10.194.190.245/kibana3/vendor/require/require.js:4:761
    http://10.194.190.245/kibana3/vendor/require/require.js:4:10268
    each@http://10.194.190.245/kibana3/vendor/require/require.js:4:283
    emit@http://10.194.190.245/kibana3/vendor/require/require.js:4:10239
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:8163
    enable@http://10.194.190.245/kibana3/vendor/require/require.js:4:10138
    init@http://10.194.190.245/kibana3/vendor/require/require.js:4:6721
    o@http://10.194.190.245/kibana3/vendor/require/require.js:4:5264
    completeLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:12593
    onScriptLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:13536
        (anonymous function) (app.js, line 7)
    [Error] Error: Circular dependency: 
    c@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:8565
    d@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:9793
    e@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:10435
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:21846
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:23659
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:6:56581
    n@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:20531
    f@http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15869
    http://10.194.190.245/kibana3/app/app.js?r=928332b:7:15453
    g@http://10.194.190.245/kibana3/app/app.js?r=928332b:20:26838
    http://10.194.190.245/kibana3/app/app.js?r=928332b:20:28801
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1276
    $eval@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9796
    $apply@http://10.194.190.245/kibana3/app/app.js?r=928332b:8:9908
    http://10.194.190.245/kibana3/app/app.js?r=928332b:21:1257
    execCb@http://10.194.190.245/kibana3/vendor/require/require.js:4:13374
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:7620
    http://10.194.190.245/kibana3/vendor/require/require.js:4:9888
    http://10.194.190.245/kibana3/vendor/require/require.js:4:761
    http://10.194.190.245/kibana3/vendor/require/require.js:4:10268
    each@http://10.194.190.245/kibana3/vendor/require/require.js:4:283
    emit@http://10.194.190.245/kibana3/vendor/require/require.js:4:10239
    check@http://10.194.190.245/kibana3/vendor/require/require.js:4:8163
    enable@http://10.194.190.245/kibana3/vendor/require/require.js:4:10138
    init@http://10.194.190.245/kibana3/vendor/require/require.js:4:6721
    o@http://10.194.190.245/kibana3/vendor/require/require.js:4:5264
    completeLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:12593
    onScriptLoad@http://10.194.190.245/kibana3/vendor/require/require.js:4:13536
        (anonymous function) (app.js, line 7)

I see the same in Chrome (Version 31.0.1650.57), Safari (Version 6.1 (8537.71), and Firefox (23.0.1).

I have been running this dashboard for the better part of a month and it seems that this issue just recently popped up. I am not sure if there's something about the data that's changed or perhaps updates to the browsers (shrug).

Just in case it would be helpful, here is the JSON of my dashboard: http://pastebin.com/NkUV40Hr.

Let me know if there's anything else I can provide to help out (e.g.: if I can unminify the JS via a flag or something)!

@cjchand
Copy link
Author

cjchand commented Nov 21, 2013

Sorry: Just found #621. Please close as a dupe.

@spalger spalger closed this as completed Nov 21, 2013
w33ble pushed a commit to w33ble/kibana that referenced this issue Sep 13, 2018
* [WIP][Design] Cleanup canvas part 1 (elastic#697)

Part 1 of dave messing around with the design of canvas.

* Converted bootstrap button groups to EUI button groups in text_style_picker (elastic#713)

* Moved elements and assets to workpad_header (elastic#714)

* Adds tabs to sidebar component (elastic#718)

* Changed sidebar to tabbed layout

* Removed unecessary done props from datasource_component and expression

* Removed unused props in toolbar

* [Design] Part 2 of design cleanup (elastic#715)

* hide nonfocus pages

* button group margins

* workpad panel styled

* header rework

* fix toolbar lint

* update to newest EUI, restyle sidebar tabs, some data source cleanup

* move title to footer

* Add some tooltips

* Fixed custom interval input in refresh controls (elastic#722)

* Fixes Editor Toggle (elastic#721)

* Removed unused selectedPage prop from workpad_header/index.js

* Fixed editor toggle

* Design part 3: page view, data sources, lots of cleanup (elastic#731)

Mostly changes around the page selector and data sources. Also fixes some of the hover issues for canvas elements.

* fix css import error

* [Design] Part 4 of design updates to canvas (elastic#732)

[Design] Part 4: selector rewrite

* Move expression editor back to bottom (elastic#733)

* Removed unused prop form sidebar_component

* Moved expression editor to toolbar

* [Design] Part 5: Cleanup and bugfixing before review (elastic#734)

* style up expression editor, fix resize handles

* hide controls when editing is hidden

* remove icons from element dropdown

* fix canvas grid

* Adds Modals (elastic#739)

* Changed datasource_preview to a modal

* Moved workpad_loader to modal

* address feedback (elastic#740)

* asset manager mostly styled (elastic#741)

* [Image function] support src (image url) in addition to dataurl (elastic#632)

* [Image function] support src (image url) in addition to dataurl

* unit test for httpurl

* fix other elements that use image

* clean up the diff

* more clean up diff

* Handle AJAX errors by showing a notification (elastic#717)

* timeout property for axios instance

* remove TODOS

* notifier class

* TODO

* second notification with the context

* redirect to home if workpad could not be fetched

* less noisy error checking

* Fix ES Docs indices select options (elastic#743)

* Catch more AJAX errors, show error in notification banner (elastic#736)

* catch more errors

* if es_fields fails, still render something

* generate default data in ajax fetches in case of failure

* feedback changes

* remove defaulting that catch makes unnecessary

* Remove run API (elastic#742)

It's not used anywhere and is no longer necessary. We can always recreate
it if the need arises.

* [Design] Part 4 of design updates to canvas (elastic#732)

[Design] Part 4: selector rewrite

* Changed icon to 'warning' in simple_failure

* Fixed canvas loading

* Fixed paginate controls file naming

* Changed color dot size

* Added missing aria-labels

* Fixed warnings

* Fixed expression warnings

* Fixed popovers

* Fixed merge conflicts for image_upload

* Changed placeholder text in custom interval input

* Styled debug render function

* Removed bootstrap from expression and show_debugging

* Changed buttons in expression editor

* Changed asset manager to modal

* Added 'canvas__element' class for BWC for custom CSS in old workpads

* Fixed fullscreen interactions and positioning

* Fixed overflow issue in asset manager

* Removed bootstrap in datasource component

* Changed text input to text area in timelion datasource

* Fixed sort field in esdocs

* Updated style of AssetManager

* Changed all inputs to compressed size

* Added max width for datasource_preview modal

* Fixed cursor when hovering over element in fullscreen mode

* Cleaned up tooltips

* Rearranged buttons in workpad_header

* Updated style to update_modal

* Forgot to remove debug line

* Cleaned up arg_add_popover

* Removed codeblock in update_modal

* Added 'dataurl=null' to image element initial expression

* Added null args to repeatImage and revealImage

* Fixed input validation in expression

* Bumped eui to v1.1.0

* fix: make refresh controls clearer

- Change disabled state to 'refresh this page manually'
- Don't show disable control unless auto-refresh is enabled
- Move disabled control under the refresh interval text

closes elastic#759

* fix: close refresh popover on selection

* fix: replace interval placeholder with help text

Closes elastic#757

* fix: replace EuiFormLabel with aria-labelledby

closes elastic#767

* fix: restore send to top/bottom controls

* fix: more usable page controls

- pull controls out of popover
- move PageControls component out of the preview
- fix link use, so controls actually work
- fix page layout for tall pages

* fix: use correct esdocs query value

* fix: better esdocs form labels

* chore: stricter prop type checking

and remove an unused prop check

* fix: style the unknown args datasource fallback

* fix: show correct sort field in esdocs

* fix: page control icon colors

* Fixed workpad_loader modal issue

* Cleaned up home page styles

* Fixed class name on confirm modal. Removed unused style in main.scss

* fix: flatten the workpad styles

easier to override them, which is handy for fullsceen and other cases

* fix: better fullscreen overrides

* chore: remove unused allowFullScreen props

* fix: workpad size in fullscreen mode

* chore: convert Positionable to a class component

* fix: map font object to flot spec

* fix: use flot font spec for flot output

* test: add font spec test, fix plot & axisconfig tests

* Fixed input refs in datacolumn

* Removed unnecessary styles

* chore: remove debugging console logs

* Fixed prop type error in expression form

* Fixed expression form bouncing from error messages

* fix: page controls visible with scroll bar

* fix: delete element click handler

* chore: bump EUI to 3.0.0

this is the version that will be landing in Kibana

* fix: match ContextMenu class to css rule

* chore: remove unused code

* chore: tiny update modal code refactor

* Replaced & with prefixes in asset_manager and suggestion SCSS files

* Replaced EUI link/icon with EuiButtonIcon

* Changed label for index pattern in esdocs form

* fix: add aria-label to EuiButtonIcon

* fix: restore highlight on hover

and remove the now unused ElementControls component

* chore: update classNames

use the new class naming convention

* chore: remove unused components

* Disabled selection and dragging for img in revealImage

* Add toolbar tray close button (elastic#842)

* Fixed range and percentage arg types (elastic#843)

* Change to preview images

* Chore: naming convention

* Fix EUI Tooltip component content props (elastic#850)

* Fix a small typo in a button icon and tooltip (elastic#851)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@spalger @cjchand and others