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

**URL:** https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224
**Category:** Kibana
**Created:** [June 18, 2019, 10:32am UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224 "2019-06-18T10:32:31Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![Susmit07](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/susmit07/32/47309_2.png) [@Susmit07](https://discuss.elastic.co/u/Susmit07)
#### Post date: [June 18, 2019, 10:32am UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/1 "2019-06-18T10:32:31Z")

</div>

Getting this error not able to view Kibana outside VM. Did a F12 on the browser and found the below logs

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'nonce-HP0NX/jW/tC+KsmO'". Either the 'unsafe-inline' keyword, a hash ('sha256-SHHSeLc0bp6xt4BoVVyUy+3IbVqp3ujLaR+s+kSP5UI='), or a nonce ('nonce-...') is required to enable inline execution.

bootstrap.js:10 A single error about an inline script not firing due to content security policy is expected!

Please help its a production issue

Thanks,  
Susmit

---

<div class="post-metadata">

### Author: ![vchauhan81](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vchauhan81](https://discuss.elastic.co/u/vchauhan81)
#### Post date: [June 20, 2019, 4:21am UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/2 "2019-06-20T04:21:27Z")

</div>

faced similar issue.

 ![err](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d199caf19ab382eb4442460f26ff4d829e34fc66.png)

---

<div class="post-metadata">

### Author: ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)
#### Post date: [June 20, 2019, 5:27am UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/3 "2019-06-20T05:27:50Z")

</div>

@Susmit07 and @vchauhan81

Are you using any custom plugins that you have developed in your Kibana installation?

What does the Kibana log state? Also what are the logs generated in ELasticsearch instance to which kibana is pointed to?

---

<div class="post-metadata">

### Author: ![Susmit07](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/susmit07/32/47309_2.png) [@Susmit07](https://discuss.elastic.co/u/Susmit07)
#### Post date: [June 20, 2019, 7:43pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/4 "2019-06-20T19:43:58Z")

</div>

@NerdSec and @Brandon_Kobel we are not using custom plugin. Please find the screenshot of the issue and the logs with logging.verbose : true in kibana.yml

 ![err](https://us1.discourse-cdn.com/elastic/original/3X/d/1/d199caf19ab382eb4442460f26ff4d829e34fc66.png)

## Logs:

[https://github.com/elastic/kibana/files/3304445/logs.txt](https://github.com/elastic/kibana/files/3304445/logs.txt)

## Github Issue link:

> <https://github.com/elastic/kibana/issues/30468>

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [June 20, 2019, 8:11pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/5 "2019-06-20T20:11:10Z")

</div>

> log [04:52:40.652] [debug][connection][econnreset] ECONNRESET: Socket was closed by the client (probably the browser) before it could be read completely  
> respons [04:52:37.657] GET /built\_assets/dlls/vendors.bundle.dll.js 200 3011ms - 9.0B

Do you have a reverse-proxy like NGINX or Apache in front of Kibana? My suspicion is that the reverse-proxy is enforcing a "max response size" which is truncating the vendor.dll.js which is causing your issue.

---

<div class="post-metadata">

### Author: ![vchauhan81](https://avatars.discourse-cdn.com/v4/letter/v/258eb7/32.png) [@vchauhan81](https://discuss.elastic.co/u/vchauhan81)
#### Post date: [June 24, 2019, 4:01am UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/6 "2019-06-24T04:01:17Z")

</div>

Nope, no any reverse proxy or apache being used.

---

<div class="post-metadata">

### Author: ![Susmit07](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/susmit07/32/47309_2.png) [@Susmit07](https://discuss.elastic.co/u/Susmit07)
#### Post date: [July 4, 2019, 5:21am UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/7 "2019-07-04T05:21:15Z")

</div>

Hi Brandon still no resolution, and we are stuck ☹

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [July 5, 2019, 2:30pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/8 "2019-07-05T14:30:04Z")

</div>

@Susmit07 would you mind elaborating on the version of Kibana that you're using, the OS of the server it's running on and your network topology in general? I'm unable to recreate the issue that you're seeing without something else like a reverse-proxy truncating the response from Kibana.

---

<div class="post-metadata">

### Author: ![rajeev.tripathi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rajeev.tripathi](https://discuss.elastic.co/u/rajeev.tripathi)
#### Post date: [July 29, 2019, 3:46pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/9 "2019-07-29T15:46:35Z")

</div>

Hi @Brandon_Kobel,

I am new to ELK stack, so most of the stuff I have learned is either through documentation, forums, etc. In response to Susmit and Vijay, I too have similar problem.

Here are the details:

1. Kibana and Elastic Search version is 6.5.1
2. VM on which these are installed separately

* * *

```
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"

```

* * *

1. I am accessing the VM by default with root permissions
2. Configurations are typical and the extra configuration that I have done and tried with / without -

- modified localhost to 0.0.0.0 in kibana.yml so that I can access Kibana externally

- firstly kept elasticsearch url as is i.e. localhost:9200 later on modified it with actual \<public\_ip\_of\_vm\>:9200

- later added `xpack.security.enabled:false`and restarted but no luck

- also tried installing nginx server configured the reverse proxy in the below manner but the results were same:  
server {  
listen 80;  
server\_name localhost;

1. These VMs are created on the go with ibm internal cloud
2. I have tried setting up and hosting Angular application on express server, and those application works fine when loaded via local machines or other systems (within secured network)
3. Java is 1.8 (Oracle)

What I feel is that, main (JS) Module is not loaded due to some unsafe headers/script.

We are stuck here.. and need your help. Thanks in Advance!!!

---

<div class="post-metadata">

### Author: ![rajeev.tripathi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rajeev.tripathi](https://discuss.elastic.co/u/rajeev.tripathi)
#### Post date: [July 31, 2019, 6:51pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/10 "2019-07-31T18:51:12Z")

</div>

Any advise, troubleshooting help ??

---

<div class="post-metadata">

### Author: ![rajeev.tripathi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rajeev.tripathi](https://discuss.elastic.co/u/rajeev.tripathi)
#### Post date: [August 3, 2019, 6:05pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/11 "2019-08-03T18:05:08Z")

</div>

Hello @Brandon_Kobel . Could you please advise on this ?

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [August 5, 2019, 2:36pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/12 "2019-08-05T14:36:33Z")

</div>

@rajeev.tripathi, are you also seeing the `ERR_CONNECTION_RESET` when the user's browser loads the `vendors.bundle.dll.js`?

If so, please run `curl -so /dev/null http://localhost:5601/built_assets/dlls/vendors.bundle.dll.js -w '%{size_download}'` from the server that is running Kibana and the equivalent curl command "substituting the host and port" from the computer that you're trying to access Kibana from. If you could share the output of both of these commands here, it'll help us diagnose further.

---

<div class="post-metadata">

### Author: ![rajeev.tripathi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rajeev.tripathi](https://discuss.elastic.co/u/rajeev.tripathi)
#### Post date: [August 5, 2019, 5:33pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/13 "2019-08-05T17:33:04Z")

</div>

Thanks for your reply!

Here are the screenshots. Locally it prints some size while externally it prints some other size.

Point to note - I am using 0.0.0.0 and default port.

Locally

 ![via_localhost](https://us1.discourse-cdn.com/elastic/original/3X/6/2/6295c3271562013342ebe40c6dc9cb5586aa90d6.jpeg)

Externally

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9a2f86427f7d46aecc0ce21b2e0ceb5fcd588299.png)

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [August 5, 2019, 7:41pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/14 "2019-08-05T19:41:25Z")

</div>

Hey @rajeev.tripathi, this is what I expected. Something external to Kibana (a reverse-proxy, a load balancer, some other network appliance) is truncating the response.

---

<div class="post-metadata">

### Author: ![rajeev.tripathi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rajeev.tripathi](https://discuss.elastic.co/u/rajeev.tripathi)
#### Post date: [August 5, 2019, 7:56pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/15 "2019-08-05T19:56:18Z")

</div>

Okay!! But that is strange.. The topology is straight. We have some VM's (private IBM cloud network) with full admin access. And we typically run it externally (within VPN network).  
I also tried setting up nginx and modified it configuration for reverse proxy, but that didn't help too.

Any idea/suggestion to check which is that network appliance truncating the response?

We have VMs having similar configuration and hosting many applications which runs without any problem.

Is kibana ui hosted on node server ? Is there some thing with nodejs we can look at ?

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [August 5, 2019, 8:16pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/16 "2019-08-05T20:16:43Z")

</div>

> Is kibana ui hosted on node server ? Is there some thing with nodejs we can look at ?

Kibana uses node internally. However, if you're consistently seeing that aforementioned curl command behaving different depending on whether you run it from the server running Kibana or the external machine, it almost certainly isn't something to do with Kibana's use of node internally.

To confirm this suspicion, you can stop Kibana and then use `python -m SimpleHTTPServer 5601` from inside a folder on the VM with a multi-megabyte file and then try to download it externally. You should see the file being truncated as well. This will eliminate Kibana and/or Node as the culprit.

---

<div class="post-metadata">

### Author: ![rajeev.tripathi](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@rajeev.tripathi](https://discuss.elastic.co/u/rajeev.tripathi)
#### Post date: [August 6, 2019, 7:58am UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/17 "2019-08-06T07:58:23Z")

</div>

Also what does this corresponds to -\>

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/8/d8d1ef4358ff136e6ceb4276c2d908b99d130a23.png)

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [August 6, 2019, 1:45pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/18 "2019-08-06T13:45:44Z")

</div>

@rajeev.tripathi [https://github.com/elastic/kibana/issues/30468](https://github.com/elastic/kibana/issues/30468)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 3, 2019, 1:45pm UTC](https://discuss.elastic.co/t/kibana-did-not-load-properly-check-the-server-output-for-more-information-kibana-not-working/186224/19 "2019-09-03T13:45:45Z")

</div>

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