# Kibana keep restarting

**URL:** https://discuss.elastic.co/t/kibana-keep-restarting/150102
**Category:** Kibana
**Created:** [September 27, 2018, 1:51am UTC](https://discuss.elastic.co/t/kibana-keep-restarting/150102 "2018-09-27T01:51:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Nikhilpawar1985](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nikhilpawar1985](https://discuss.elastic.co/u/Nikhilpawar1985)
#### Post date: [September 27, 2018, 1:51am UTC](https://discuss.elastic.co/t/kibana-keep-restarting/150102/1 "2018-09-27T01:51:55Z")

</div>

Hi ,  
i am building ELK stack on Cloud as per our requirements. I was successfully able to stand up ES on cloud but having issues connecting Kibana to ES and loading Kibana as it keeps restarting . Can someone help on this

logs

```
 ["debug","optimize"],"pid":16498,"message":"All bundles are cached and ready to go!"}
    {"type":"log","@timestamp":"2018-09-27T01:42:44Z","tags":["plugins","debug"],"pid":16498,"plugin":{"name":"kibana","version":"kibana","config":{"@elastic/eslint-import-resolver-kibana":{"projectRoot":false}}},"message":"Initializing plugin kibana@kibana"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/node_modules/x-pack","message":"Found plugin at /usr/share/kibana/node_modules/x-pack"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/apm_oss","message":"Found plugin at /usr/share/kibana/src/core_plugins/apm_oss"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/console","message":"Found plugin at /usr/share/kibana/src/core_plugins/console"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/elasticsearch","message":"Found plugin at /usr/share/kibana/src/core_plugins/elasticsearch"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/input_control_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/input_control_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/inspector_views","message":"Found plugin at /usr/share/kibana/src/core_plugins/inspector_views"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/kbn_doc_views","message":"Found plugin at /usr/share/kibana/src/core_plugins/kbn_doc_views"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/kbn_vislib_vis_types","message":"Found plugin at /usr/share/kibana/src/core_plugins/kbn_vislib_vis_types"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/kibana","message":"Found plugin at /usr/share/kibana/src/core_plugins/kibana"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/markdown_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/markdown_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/metric_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/metric_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/metrics","message":"Found plugin at /usr/share/kibana/src/core_plugins/metrics"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/region_map","message":"Found plugin at /usr/share/kibana/src/core_plugins/region_map"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/state_session_storage_redirect","message":"Found plugin at /usr/share/kibana/src/core_plugins/state_session_storage_redirect"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/status_page","message":"Found plugin at /usr/share/kibana/src/core_plugins/status_page"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/table_vis","message":"Found plugin at /usr/share/kibana/src/core_plugins/table_vis"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/tagcloud","message":"Found plugin at /usr/share/kibana/src/core_plugins/tagcloud"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/tile_map","message":"Found plugin at /usr/share/kibana/src/core_plugins/tile_map"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/timelion","message":"Found plugin at /usr/share/kibana/src/core_plugins/timelion"}
    {"type":"log","@timestamp":"2018-09-27T01:42:48Z","tags":["plugin","debug"],"pid":16510,"path":"/usr/share/kibana/src/core_plugins/vega","message":"Found plugin at /usr/share/kibana/src/core_plugins/vega"}
    {"type":"log","@timestamp":"2018-09-27T01:42:49Z","tags":["debug","optimize"],"pid":16510,"message":"All bundles are cached and ready to go!"}
    {"type":"log","@timestamp":"2018-09-27T01:42:49Z","tags":["plugins","debug"],"pid":16510,"plugin":{"name":"kibana","version":"kibana","config":{"@elastic/eslint-import-resolver-kibana":{"projectRoot":false}}},"message":"Initializing plugin kibana@kibana"}

```

Kibana.yml

```
server.port: 5601
server.host: "X.X.X.X"
server.name: "iacapps-kibana-node-1"
elasticsearch.url: "http://localhost:9200"
kibana.index: ".kibana"
elasticsearch.username: "kibana"
elasticsearch.password: "foo"
xpack.security.encryptionKey: "'foo"
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/certs/iacapps-kibana-node-1.crt
server.ssl.key: /etc/kibana/certs/iacapps-kibana-node-1.key
elasticsearch.ssl.certificateAuthorities: /etc/kibana/certs/ca.crt
elasticsearch.requestTimeout: 180000
logging.dest: /var/log/kibana/kibana.log
#User Timeout for a Kibana web session 1sec=1000ms
#600000ms = 600sec = 10mins
xpack.security.sessionTimeout: 600000
logging.verbose: true

```

Thanks

---

<div class="post-metadata">

### Author: ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)
#### Post date: [September 27, 2018, 12:19pm UTC](https://discuss.elastic.co/t/kibana-keep-restarting/150102/2 "2018-09-27T12:19:21Z")

</div>

@Nikhilpawar1985,

Is this the entire Kibana log file? There's nothing out of the ordinary here from what I can see. If you have additional logs, that would help us diagnose this further.

---

<div class="post-metadata">

### Author: ![Nikhilpawar1985](https://avatars.discourse-cdn.com/v4/letter/n/e68b1a/32.png) [@Nikhilpawar1985](https://discuss.elastic.co/u/Nikhilpawar1985)
#### Post date: [September 28, 2018, 2:03am UTC](https://discuss.elastic.co/t/kibana-keep-restarting/150102/3 "2018-09-28T02:03:45Z")

</div>

I was able to resolve the issue . Its OK now  
Setting - xpack.security.encryptionKey: "'foo"  
was causing the issue .

---

<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: [October 26, 2018, 2:18am UTC](https://discuss.elastic.co/t/kibana-keep-restarting/150102/4 "2018-10-26T02:18:01Z")

</div>

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