# Kibana is not working

**URL:** https://discuss.elastic.co/t/kibana-is-not-working/136986
**Category:** Kibana
**Created:** [June 22, 2018, 7:52am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986 "2018-06-22T07:52:47Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [June 22, 2018, 7:52am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/1 "2018-06-22T07:52:47Z")

</div>

Dear team,

I'm a new user in Kibana and it is not working in my machine, it shows the following exception:

`[license][xpack] license information from the X-Pack plugin could not be obtained from Elasticsearch for the [data] cluster. AuthentificationException[unable to authenticate user[user_name] for REST request [/_xpack]...`

Please help!

Thanks and best regards,  
Mohammed ESSABRI

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [June 22, 2018, 7:58am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/2 "2018-06-22T07:58:45Z")

</div>

Which version of the stack are you using?

---

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [June 22, 2018, 8:55am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/3 "2018-06-22T08:55:27Z")

</div>

> [@Christian\_Dahlqvist](#):
>
> he stack are you using?

I don't know which exactly means a stack version, is it the version of Elasticsearch ? if yes, it's 1.7  
The version of Kibana is the latest 6.3.0

Thank you

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [June 22, 2018, 8:57am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/4 "2018-06-22T08:57:39Z")

</div>

From version 5.0 of the stack, the Kibana version must match the Elasticsearch version, so Kibana 6.3 will not work with Elasticsearch versions prior to 6.3.

---

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [June 22, 2018, 9:04am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/5 "2018-06-22T09:04:19Z")

</div>

OK thank you for the reply, i'll try with that!

---

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [June 22, 2018, 9:21am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/6 "2018-06-22T09:21:16Z")

</div>

Dear @Christian_Dahlqvist,

Basing on this [discussion](https://discuss.elastic.co/t/kibana-version-for-elasticsearch-1-7-5/45219/2?u=mohammedessabri), i need 4.1.x to run the latest version of kibana with my ES version 1.7 but i can't find it in [Kibana releases](https://discuss.elastic.co/t/kibana-version-for-elasticsearch-1-7-5/45219/2)

Thanks

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [June 22, 2018, 9:22am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/7 "2018-06-22T09:22:21Z")

</div>

Search [here](https://www.elastic.co/downloads/past-releases).

---

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [June 28, 2018, 7:57am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/8 "2018-06-28T07:57:30Z")

</div>

Thank you !

---

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [July 4, 2018, 9:34am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/9 "2018-07-04T09:34:22Z")

</div>

Dear @Christian_Dahlqvist,

I changed Elasticsearch server ip in kipana yml config but it's still trying to connect to localhost, please check the yml file below

```
# Kibana is served by a back end server. This controls which port to use.
port: 5601

# The host to bind the server to.
host: "0.0.0.0"

# The Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://10. **.**.**:9200"

# preserve_elasticsearch_host true will send the hostname specified in `elasticsearch`. If you set it to false,
# then the host you use to connect to *this* Kibana instance will be sent.
elasticsearch_preserve_host: true

# Kibana uses an index in Elasticsearch to store saved searches, visualizations
# and dashboards. It will create a new index if it doesn't already exist.
kibana_index: ".kibana"

# If your Elasticsearch is protected with basic auth, this is the user credentials
# used by the Kibana server to perform maintence on the kibana_index at statup. Your Kibana
# users will still need to authenticate with Elasticsearch (which is proxied thorugh
# the Kibana server)
kibana_elasticsearch_username: "user"
kibana_elasticsearch_password: " ********"

# If your Elasticsearch requires client certificate and key
# kibana_elasticsearch_client_crt: /path/to/your/client.crt
# kibana_elasticsearch_client_key: /path/to/your/client.key

# If you need to provide a CA certificate for your Elasticsarech instance, put
# the path of the pem file here.
# ca: /path/to/your/CA.pem

# The default application to load.
default_app_id: "discover"

# Time in milliseconds to wait for elasticsearch to respond to pings, defaults to
# request_timeout setting
# ping_timeout: 1500

# Time in milliseconds to wait for responses from the back end or elasticsearch.
# This must be > 0
request_timeout: 300000

# Time in milliseconds for Elasticsearch to wait for responses from shards.
# Set to 0 to disable.
shard_timeout: 0

# Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying
# startup_timeout: 5000

# Set to false to have a complete disregard for the validity of the SSL
# certificate.
verify_ssl: true

# SSL for outgoing requests from the Kibana Server (PEM formatted)
# ssl_key_file: /path/to/your/server.key
# ssl_cert_file: /path/to/your/server.crt

# Set the path to where you would like the process id file to be created.
# pid_file: /var/run/kibana.pid

# If you would like to send the log output to a file you can set the path below.
# This will also turn off the STDOUT log output.
# log_file: ./kibana.log

# A value to use as a XSRF token. This token is sent back to the server on each request
# and required if you want to execute requests from other clients (like curl).
# xsrf_token: ""

# Plugins that are included in the build, and no longer found in the plugins/ folder
bundled_plugin_ids:
 - plugins/dashboard/index
 - plugins/discover/index
 - plugins/doc/index
 - plugins/kibana/index
 - plugins/markdown_vis/index
 - plugins/metric_vis/index
 - plugins/settings/index
 - plugins/table_vis/index
 - plugins/vis_types/index
 - plugins/visualize/index 

```

And here is the response:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/1/01f2ea1c5c292ee5e993040cf0b1f89279102ae7.png)

Please give me some help!

Thanks and best regards,  
Mohammed

---

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [July 4, 2018, 9:52am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/10 "2018-07-04T09:52:56Z")

</div>

Dear @Christian_Dahlqvist,

I resolved the problem but i get another:

```
{"name":"Kibana","hostname":"EPO-***","pid":24420,"level":50,"err":{"message":"Authentication Exception","name":"Error","stack":"Error: Authentication Exception\n at respond (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\src\\lib\\transport.js:235:15)\n at checkRespForFailure (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\src\\lib\\transport.js:203:7)\n at HttpConnector.<anonymous> (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\src\\lib\\connectors\\http.js:156:7)\n at IncomingMessage.bound (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\node_modules\\lodash-node\\modern\\internals\\baseBind.js:56:17)\n at emitNone (events.js:72:20)\n at IncomingMessage.emit (events.js:166:7)\n at endReadableNT (_stream_readable.js:921:12)\n at nextTickCallbackWith2Args (node.js:442:9)\n at process._tickCallback (node.js:356:17)"},"msg":"","time":"2018-07-04T09:43:32.121Z","v":0}
    {"name":"Kibana","hostname":"EPO-***","pid":24420,"level":60,"err":{"message":"Authentication Exception","name":"Error","stack":"Error: Authentication Exception\n at respond (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\src\\lib\\transport.js:235:15)\n at checkRespForFailure (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\src\\lib\\transport.js:203:7)\n at HttpConnector.<anonymous> (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\src\\lib\\connectors\\http.js:156:7)\n at IncomingMessage.bound (C:\\development\\programs\\kibana-4.1.11-windows\\kibana-4.1.11-windows\\src\\node_modules\\elasticsearch\\node_modules\\lodash-node\\modern\\internals\\baseBind.js:56:17)\n at emitNone (events.js:72:20)\n at IncomingMessage.emit (events.js:166:7)\n at endReadableNT (_stream_readable.js:921:12)\n at nextTickCallbackWith2Args (node.js:442:9)\n at process._tickCallback (node.js:356:17)"},"msg":"","time":"2018-07-04T09:43:32.124Z","v":0} 

```

Thank you!

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [July 4, 2018, 9:54am UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/11 "2018-07-04T09:54:43Z")

</div>

Is this for Kibana 4.1? If that is the case I have not used it in years, so will unfortunately not be of much help.

---

<div class="post-metadata">

### Author: ![mohammedEssabri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedessabri/32/42177_2.png) [@mohammedEssabri](https://discuss.elastic.co/u/mohammedEssabri)
#### Post date: [July 4, 2018, 1:54pm UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/12 "2018-07-04T13:54:07Z")

</div>

Yes it's 4.1, because i'm using ES 1.7 and you adviced me to use an older version

Thank you and best regards,  
Mohammed ESSABRI

---

<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: [August 1, 2018, 1:54pm UTC](https://discuss.elastic.co/t/kibana-is-not-working/136986/13 "2018-08-01T13:54:07Z")

</div>

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