Kibana Sharing - Short URL - Kibana did not load properly

How are you grabbing these logs? It looks like this is not quite what I'm looking for - there should be a lot more output.

For instance, that error message sometimes appears when there is a syntax error during the optimization process. I can trigger an error and this is a snippet of the output in my terminal with logging.verbose: true turned on (which you may not even need).

server    log   [15:24:13.500] [debug][esqueue][reporting][worker] j8n6og9m0ahp1d1bb498g1kx - querying for outstanding jobs
server    log   [15:24:13.501] [debug][esqueue][reporting][worker] j8n6og9j0ahp1d1bb496rnch - querying for outstanding jobs
server    log   [15:24:13.503] [debug][esqueue][reporting][worker] j8n6og9m0ahp1d1bb498g1kx - 0 outstanding jobs returned
server    log   [15:24:13.503] [debug][esqueue][reporting][worker] j8n6og9j0ahp1d1bb496rnch - 0 outstanding jobs returned
Unhandled rejection Error: Optimizations failure.

    ERROR in ./src/core_plugins/kibana/public/dashboard/panel/dashboard_panel.js
    Module build failed: SyntaxError: Unexpected token, expected ; (11:21)
    
       9 | //export class DashboardPanel extends React.Component {
      10 | 
    > 11 |   constructor(props) {
         |                      ^
      12 |     super(props);
      13 |     this.state = {};
      14 |     this.embeddable = null;
    
     @ ./src/core_plugins/kibana/public/dashboard/grid/dashboard_grid.js 30:23-58

    at LazyOptimizer.failedStatsToError (/Users/staceygammon/Elastic/kibana/src/optimize/base_optimizer.js:224:17)
    at Compiler.<anonymous> (/Users/staceygammon/Elastic/kibana/src/optimize/lazy/lazy_optimizer.js:44:24)
    at Compiler.applyPlugins (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:26:37)
    at Watching._done (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compiler.js:78:17)
    at Watching.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compiler.js:51:17)
    at /Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compiler.js:403:12
    at Compiler.next (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:67:11)
    at Compiler.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/CachePlugin.js:40:4)
    at Compiler.applyPluginsAsync (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compiler.js:400:9)
    at Compilation.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compilation.js:577:13)
    at Compilation.applyPluginsAsync (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:60:69)
    at Compilation.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compilation.js:572:10)
    at Compilation.applyPluginsAsync (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:60:69)
    at Compilation.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compilation.js:567:9)
    at Compilation.next (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:67:11)
    at ExtractTextPlugin.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/extract-text-webpack-plugin/index.js:303:4)
    at Compilation.applyPluginsAsync (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:71:13)
    at Compilation.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compilation.js:563:8)
    at Compilation.next (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:67:11)
    at ExtractTextPlugin.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/extract-text-webpack-plugin/index.js:279:5)
    at /Users/staceygammon/Elastic/kibana/node_modules/async/lib/async.js:52:16
    at Object.async.forEachOf.async.eachOf (/Users/staceygammon/Elastic/kibana/node_modules/async/lib/async.js:236:30)
    at Object.async.forEach.async.each (/Users/staceygammon/Elastic/kibana/node_modules/async/lib/async.js:209:22)
    at ExtractTextPlugin.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/extract-text-webpack-plugin/index.js:238:10)
    at Compilation.applyPluginsAsync (/Users/staceygammon/Elastic/kibana/node_modules/tapable/lib/Tapable.js:71:13)
    at Compilation.seal (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compilation.js:525:7)
    at Compiler.<anonymous> (/Users/staceygammon/Elastic/kibana/node_modules/webpack/lib/Compiler.js:397:15)
server  respons [15:24:14.147]  GET /bundles/login.style.css?v=8467 200 130797ms - 9.0B
server  respons [15:24:14.148]  GET /bundles/commons.bundle.js?v=8467 200 130796ms - 9.0B
server  respons [15:24:14.150]  GET /bundles/commons.style.css?v=8467 500 107455ms - 9.0B
server  respons [15:24:14.152]  GET /bundles/login.style.css?v=8467 500 107455ms - 9.0B
server  respons [15:24:14.155]  GET /bundles/commons.bundle.js?v=8467 500 107456ms - 9.0B
server  respons [15:24:14.159]  GET /bundles/commons.style.css?v=8467 500 13825ms - 9.0B
server  respons [15:24:14.161]  GET /bundles/login.style.css?v=8467 500 13823ms - 9.0B
server  respons [15:24:14.164]  GET /bundles/commons.bundle.js?v=8467 500 13821ms - 9.0B
server  respons [15:24:14.167]  GET /bundles/commons.style.css?v=8467 200 130823ms - 9.0B
server    log   [15:24:14.555] [debug][plugin] Checking Elasticsearch version
server    log   [15:24:14.556] [debug][plugin] Checking Elasticsearch version

It looks like you are only capturing network data from the browser? I'm looking for the server logs in the terminal where you are running ./bin/kibana.

btw, I suspect this has to do with having the advanced setting state:storeInSessionStorage turned on. Is that the case? Do you still see the problem if you turn this setting off?

I did try to repro with that setting on, but am still not able to. With that setting on, I am able to grab /bundles/stateSessionStorageRedirect.style without getting the 404 error.

2 Likes