Kibana did not load properly in kibana version 6.6


#1

kibana version:6.6.0

i can not open kibana in my chrome, the error message is:

Kibana did not load properly. Check the server output for more information.

and i use f12 to debug, i found some js file not found

the server logs:

{
    "type":"response",
    "@timestamp":"2019-02-01T03:59:45Z",
    "tags":[

    ],
    "pid":219466,
    "method":"get",
    "statusCode":404,
    "req":{
        "url":"/app/kibanadlls/vendors.bundle.dll.js",
        "method":"get",
        "headers":{
            "host":"",
            "connection":"close",
            "x-forwarded-for":"",
            "proxy-connection":"keep-alive",
            "pragma":"no-cache",
            "cache-control":"no-cache",
            "user-agent":"",
            "accept":"*/*",
            "referer":"/monitor/app/monitoring",
            "accept-language":"zh-CN,zh;q=0.9,en;q=0.8",
            "x-rio-seq":"",
            "x-real-ip":"",
            "x-proxy-by":"SmartGate-IDC",
            "x-ngn-network":"intranet",
            "staffid":"136902",
            "staffname":",
            "x-ext-data":"",
            "accept-encoding":"gzip"
        },
        "remoteAddress":"",
        "userAgent":"",
        "referer":"/monitor/app/monitoring"
    },
    "res":{
        "statusCode":404,
        "responseTime":42,
        "contentLength":9
    },
    "message":"GET /app/kibanadlls/vendors.bundle.dll.js 404 42ms - 9.0B"
}

i deleted some Sensitive information above


#2

found reason, cause my nginx configuration is not right.


(Tyler Smalley) #3

Glad you were able to resolve the issue!


(Uzair Anwar) #4

Can you please share the fix here?

I am getting the exact same error on localhost with no nginx involved.

Thanks!


(Rishindra Kumar) #5

Hey.. Were you able to resolve this? I am also facing same issue. Line numbers 29 and 70 from bootstrap.js


#7

hi, @Rishindra_Kumar, @NoMemoryError , in my case, nginx is used as a reverse proxy. and i set "server.basePath:/monitor" in my kibana confi, so i have to remove "monitor" prefix in my nginx conf as follows.

location  /monitor/ {
            proxy_pass http://ip:port/app/kibana;
        }
        location /monitor/bundles/ {
            proxy_pass http://ip:port/bundles/;
        }
        location /monitor/plugins/{
            proxy_pass http://ip:port/plugins/;
        }
        location /monitor/ui/{
            proxy_pass http://ip:port/ui/;
        }
        location /monitor/es_admin/{
            proxy_pass http://ip:port/es_admin/;
        }
        location /monitor/elasticsearch/{
            proxy_pass http://ip:port/elasticsearch/;
        }
        location /monitor/api/{
            proxy_pass http://ip:port/api/;
        }
        location /monitor/app/{
            proxy_pass http://ip:port/app/;
        }
location /monitor/dlls/{
            proxy_pass http://ip:port/dlls/;
        }


(system) closed #8

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.