Kibana - Not able to open dashboard


(Chitender Kumar) #1

Hi,

after installing elasticsearch and marvel plugin. i installed kibana 4.3.1. after configuring it when i am trying to access the kibana dashboard from browser. i am getting stuck at first info page, where it displays "Kibana is loading.give me a moment ......."

not able to move ahead of it.

please suggest.


(Mark Walkom) #2

Is there anything in your KB logs?


(Chitender Kumar) #3

no.

when i try to access kibana through browser, i get below two logs only.

{"type":"response","@timestamp":"2016-01-03T17:54:45+00:00","tags":[],"pid":24780,"method":"get","statusCode":200,"req":{"url":"/","method":"get","headers":{"host":"127.0.0.1:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","cookie":"csrftoken=6c5fe59cced40ffa2a04459c85d65ff9; __utma=96992031.725899367.1445424434.1450762659.1450844694.123; __utmz=96992031.1445424434.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); hueBeeswaxLastDatabase=default; oam-coeadmin-selected-cluster=LCGW; oam-uid=coeadmin; oam-coeadmin-last-visited-mo=%3B; _ga=GA1.1.725899367.1445424434","connection":"keep-alive"},"remoteAddress":"172.19.16.24","userAgent":"172.19.16.24"},"res":{"statusCode":200,"responseTime":217,"contentLength":9},"message":"GET / 200 217ms - 9.0B"}

{"type":"response","@timestamp":"2016-01-03T17:54:49+00:00","tags":[],"pid":24780,"method":"get","statusCode":200,"req":{"url":"/app/kibana","method":"get","headers":{"host":"127.0.0.1:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://127.0.0.1:5601/","cookie":"csrftoken=6c5fe59cced40ffa2a04459c85d65ff9; __utma=96992031.725899367.1445424434.1450762659.1450844694.123; __utmz=96992031.1445424434.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); hueBeeswaxLastDatabase=default; oam-coeadmin-selected-cluster=LCGW; oam-uid=coeadmin; oam-coeadmin-last-visited-mo=%3B; _ga=GA1.1.725899367.1445424434","connection":"keep-alive"},"remoteAddress":"172.19.16.24","userAgent":"172.19.16.24","referer":"http://127.0.0.1:5601/"},"res":{"statusCode":200,"responseTime":272,"contentLength":9},"message":"GET /app/kibana 200 272ms - 9.0B"}

and only information which display in browser is that "kibana is loading......." and its stuck there.


(jacekw) #4

same problem here ...

CentOS 7.2.1511
java version "1.8.0_65"
kibana 4.3.1
elasticsearch 2.1.1-1


(Tim Sullivan) #5

Are there any errors shown in the browser's JavaScript console? Try opening the JS console in the browser and then refreshing the page. There may be a JavaScript error logged there.


(Chitender Kumar) #6

tim, i didnt found any exception in js console.


(Chitender Kumar) #7

i am getting below logs.

{"type":"response","@timestamp":"2016-01-05T05:04:34+00:00","tags":[],"pid":17962,"method":"get","statusCode":404,"req":{"url":"/favicon.ico","method":"get","headers":{"host":"127.0.0.1:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; rv:43.0) Gecko/20100101 Firefox/43.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","cookie":"csrftoken=6c5fe59cced40ffa2a04459c85d65ff9; __utma=96992031.725899367.1445424434.1451881034.1451968819.125; __utmz=96992031.1445424434.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); hueBeeswaxLastDatabase=default; oam-coeadmin-selected-cluster=LCGW; oam-uid=coeadmin; oam-coeadmin-last-visited-mo=%3B; _ga=GA1.1.725899367.1445424434; __utmc=96992031","connection":"keep-alive"},"remoteAddress":"172.19.16.24","userAgent":"172.19.16.24"},"res":{"statusCode":404,"responseTime":27,"contentLength":9},"message":"GET /favicon.ico 404 27ms - 9.0B"}


(jacekw) #8

helo,

here is the output from the JS-Console on firefox 43.0 (Ubuntu 14.04):

08:14:25.668 unreachable code after return statement kibana.bundle.js:82878:3 08:14:26.216 mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create commons.bundle.js:3101:6 08:14:26.279 TypeError: internals.appUrlStore is null exports.default/chrome.getLastSubUrlFor() commons.bundle.js:62673 exports.default/<() commons.bundle.js:62736 forEach() self-hosted:211 exports.default() commons.bundle.js:62730 <anonym> commons.bundle.js:132 __webpack_require__() commons.bundle.js:51 <anonym> kibana.bundle.js:26 __webpack_require__() commons.bundle.js:51 webpackJsonpCallback() commons.bundle.js:22 <anonym> kibana.bundle.js:1 commons.bundle.js:62673:6

best regards


(jacekw) #9

helo,

it's working with google chrome :smile:

best regards


(Chitender Kumar) #10

@jacekwat : could you share the steps which you have followed to deploy kibana?


(jacekw) #11

helo,

1.) on Firefox you have to start the development-tools with <ctrl>+<shift>+<I>
2.) then click the TAB JS
3.) reload kibana

and that's all.


(Chitender Kumar) #12

jacekwat.... i deployed elasticsearch and then i deployed kibana.

after it i tried loading kibana dashboard in chrome and firefox. but its not loading. find attached the snapshot for reference.

and also in JS console i am getting nothing.


(jacekw) #13

please try with an another browser (ie, chrome, chromium ...)


(Chitender Kumar) #14

tried chrome, firefox and internet explorer and chromium. still no luck.


(Chitender Kumar) #15

i tried installing it on window machine, but still the same response.


(Tim Sullivan) #16

Chitender, can you select the "Network" tab in the Chrome dev tools, hard-refresh the page, and see what the responses are for the "bundle" files?

  • commons.bundle.js
  • kibana.bundle.js

The response codes should be 200 and the file sizes should be > 0


(Christoffer Vig) #17

Hi there, I have a similar problem and notice the size for kibana.bundle.js is very small.
This is on ubuntu


(Chitender Kumar) #18

@tsullivan its blank.


(Tim Sullivan) #19

You may have opened the network inspector after the page loaded. Can you try opening it and then refreshing the page? It'll stay open and that should show the records for the page from the start of the first request.


(Christoffer Vig) #20

Hi, just wanted to report that the problem went away for me after wiping the VM with Kibana installed and running a new install. I know I fixed some settings from kibana.yml that were no longer valid, but unfortunately I have no idea what broke it.