Got an error [500] Internal Server Error for path /app/kibana


#1

Hello,

I installed the latest Enterprise Kibana plugin (1.17) for KIbana 6.6.1.

The communication between Kibana & Elasticsearch seems to be Ok.
{“type”:“log”,"@timestamp":“2019-03-12T08:03:33Z”,“tags”:[“warning”,“elasticsearch”,“config”,“deprecation”],“pid”:50968,“message”:“Config key “url” is deprecated. It has been replaced with “hosts””}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:34Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“green”,“message”:“Status changed from uninitialized to green - Ready”,“prevState”:“uninitialized”,“prevMsg”:“uninitialized”}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:34Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“yellow”,“message”:“Status changed from uninitialized to yellow - Waiting for Elasticsearch”,“prevState”:“uninitialized”,“prevMsg”:“uninitialized”}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:34Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“green”,“message”:“Status changed from uninitialized to green - Ready”,“prevState”:“uninitialized”,“prevMsg”:“uninitialized”}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:34Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“green”,“message”:“Status changed from uninitialized to green - Ready”,“prevState”:“uninitialized”,“prevMsg”:“uninitialized”}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:34Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“green”,“message”:“Status changed from uninitialized to green - Ready”,“prevState”:“uninitialized”,“prevMsg”:“uninitialized”}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:34Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“green”,“message”:“Status changed from uninitialized to green - Ready”,“prevState”:“uninitialized”,“prevMsg”:“uninitialized”}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:35Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“green”,“message”:“Status changed from uninitialized to green - Ready”,“prevState”:“uninitialized”,“prevMsg”:“uninitialized”}
{“type”:“log”,"@timestamp":“2019-03-12T08:03:35Z”,“tags”:[“status”,“plugin:[email protected]”,“info”],“pid”:50968,“state”:“green”,“message”:“Status changed from yellow to green - Ready”,“prevState”:“yellow”,“prevMsg”:“Waiting for Elasticsearch”}

But when I try to access the web application, I get the following error :

{"type":"log","@timestamp":"2019-03-12T08:03:50Z","tags":   ["error","readonlyrest_kbn"],"pid":50968,"message":"got an error [500] Internal Server Error for path /app/kibana"}

{“type”:“error”,"@timestamp":“2019-03-12T08:03:50Z”,“tags”:[“error”,“readonlyrest_kbn”],“pid”:50968,“level”:“error”,“error”:{“message”:“Cannot convert undefined or null to object”,“name”:“TypeError”,“stack”:“TypeError: Cannot convert undefined or null to object\n at Function.assign ()\n at replaceInjectedVars (/apps/slap-dashboard-2/plugins/readonlyrest_kbn/index.js:1:1145)\n at /apps/slap-dashboard-2/src/ui/ui_render/ui_render_mixin.js:47:88\n at tryCatcher (/apps/slap-dashboard-2/node_modules/bluebird/js/main/util.js:26:23)\n at ReductionPromiseArray._promiseFulfilled (/apps/slap-dashboard-2/node_modules/bluebird/js/main/reduce.js:109:18)\n at ReductionPromiseArray.init (/apps/slap-dashboard-2/node_modules/bluebird/js/main/promise_array.js:92:18)\n at ReductionPromiseArray.init (/apps/slap-dashboard-2/node_modules/bluebird/js/main/reduce.js:42:10)\n at Async._drainQueue (/apps/slap-dashboard-2/node_modules/bluebird/js/main/async.js:128:12)\n at Async._drainQueues (/apps/slap-dashboard-2/node_modules/bluebird/js/main/async.js:133:10)\n at Immediate.Async.drainQueues (/apps/slap-dashboard-2/node_modules/bluebird/js/main/async.js:15:14)\n at runCallback (timers.js:705:18)\n at tryOnImmediate (timers.js:676:5)\n at processImmediate (timers.js:658:5)”},“message”:“Cannot convert undefined or null to object”}
{“type”:“error”,"@timestamp":“2019-03-12T08:03:50Z”,“tags”:[],“pid”:50968,“level”:“error”,“error”:{“message”:“Cannot convert undefined or null to object”,“name”:“TypeError”,“stack”:“TypeError: Cannot convert undefined or null to object\n at Function.assign ()\n at replaceInjectedVars (/apps/slap-dashboard-2/plugins/readonlyrest_kbn/index.js:1:1145)\n at /apps/slap-dashboard-2/src/ui/ui_render/ui_render_mixin.js:47:88\n at tryCatcher (/apps/slap-dashboard-2/node_modules/bluebird/js/main/util.js:26:23)\n at ReductionPromiseArray._promiseFulfilled (/apps/slap-dashboard-2/node_modules/bluebird/js/main/reduce.js:109:18)\n at ReductionPromiseArray.init (/apps/slap-dashboard-2/node_modules/bluebird/js/main/promise_array.js:92:18)\n at ReductionPromiseArray.init (/apps/slap-dashboard-2/node_modules/bluebird/js/main/reduce.js:42:10)\n at Async._drainQueue (/apps/slap-dashboard-2/node_modules/bluebird/js/main/async.js:128:12)\n at Async._drainQueues (/apps/slap-dashboard-2/node_modules/bluebird/js/main/async.js:133:10)\n at Immediate.Async.drainQueues (/apps/slap-dashboard-2/node_modules/bluebird/js/main/async.js:15:14)\n at runCallback (timers.js:705:18)\n at tryOnImmediate (timers.js:676:5)\n at processImmediate (timers.js:658:5)”},“url”:{“protocol”:null,“slashes”:null,“auth”:null,“host”:null,“port”:null,“hostname”:null,“hash”:null,“search”:null,“query”:{},“pathname”:"/app/kibana",“path”:"/app/kibana",“href”:"/app/kibana"},“message”:“Cannot convert undefined or null to object”}
{“type”:“response”,"@timestamp":“2019-03-12T08:03:50Z”,“tags”:[],“pid”:50968,“method”:“get”,“statusCode”:500,“req”:{“url”:"/app/kibana",“method”:“get”,“headers”:{“host”:“testluxsld00009.ep.parl.union.eu:5601”,“connection”:“keep-alive”,“cache-control”:“max-age=0”,“upgrade-insecure-requests”:“1”,“user-agent”:“Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36”,“accept”:“text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8”,“accept-
encoding”:“gzip, deflate”,“accept-language”:“en-US,en;q=0.9,fr;q=0.8”},“remoteAddress”:“10.21.15.6”,“userAgent”:“10.21.15.6”},“res”:{“statusCode”:500,“responseTime”:66,“contentLength”:9},“message”:“GET /app/kibana 500 66ms - 9.0B”}

Could you please check ?
H.


(Simone Scarduzio) #2

Hi can you please download 1.17.2 I just released? This should be fixed.


#3

It is working now.
Thank you.

Hassen