# Xpack Kibana username Password not accepting . Login Failure

**URL:** <https://discuss.elastic.co/t/xpack-kibana-username-password-not-accepting-login-failure/108988>\
**Category:** Kibana\
**Created:** [November 24, 2017, 8:21am UTC](https://discuss.elastic.co/t/xpack-kibana-username-password-not-accepting-login-failure/108988 "2017-11-24T08:21:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [November 24, 2017, 8:21am UTC](https://discuss.elastic.co/t/xpack-kibana-username-password-not-accepting-login-failure/108988/1 "2017-11-24T08:21:23Z")

</div>

I have working ELK 5.3.0 and Xpack5.3.0 successfully installed in Elasticsearch plugin and Kibana plugin.

If Elastic search login disabled in kibana.yml , kibana asking for username and password in localhost:5601. But username password is not accepting .

If Elastic search login enabling in kibana.yml , ./kibana not successfully load. error messages showing. localhost:5601 is not loading

When I am enabling

Case 1) elasticsearch.username: "kibana"  
elasticsearch.password: "kibanapassword" in kibana.yml  
Tried this username password as per the tutorial: [https://www.elastic.co/guide/en/kibana/6.0/installing-xpack-kb.html](https://www.elastic.co/guide/en/kibana/6.0/installing-xpack-kb.html)

Case 2) elasticsearch.username: "abcdefgh"  
elasticsearch.password: "123xyz" in kibana.yml  
My actual kibana user in kibana installed centos server is "abcdefgh" and password is "123xyz".

Below showing error happening.

* * *

```auto
[07:50:00.741] [info][status][plugin:kibana@5.3.0] Status changed from uninitialized to green - Ready
  log [07:50:00.901] [info][status][plugin:elasticsearch@5.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log [07:50:00.939] [info][status][plugin:xpack_main@5.3.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log [07:50:00.968] [error][status][plugin:xpack_main@5.3.0] Status changed from yellow to red - Authentication Exception
  log [07:50:00.969] [error][status][plugin:elasticsearch@5.3.0] Status changed from yellow to red - Authentication Exception
  log [07:50:01.369] [error][status][plugin:graph@5.3.0] Status changed from uninitialized to red - Authentication Exception
  log [07:50:01.383] [info][status][plugin:monitoring@5.3.0] Status changed from uninitialized to green - Ready
  log [07:50:01.388] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
  log [07:50:01.395] [error][status][plugin:reporting@5.3.0] Status changed from uninitialized to red - Authentication Exception
  log [07:50:01.456] [error][status][plugin:security@5.3.0] Status changed from uninitialized to red - Authentication Exception
  log [07:50:01.457] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
  log [07:50:01.468] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log [07:50:01.819] [error][status][plugin:searchprofiler@5.3.0] Status changed from uninitialized to red - Authentication Exception
  log [07:50:01.954] [error][status][plugin:tilemap@5.3.0] Status changed from uninitialized to red - Authentication Exception
  log [07:50:01.997] [info][status][plugin:console@5.3.0] Status changed from uninitialized to green - Ready
  log [07:50:02.700] [info][status][plugin:timelion@5.3.0] Status changed from uninitialized to green - Ready
  log [07:50:02.716] [info][listening] Server running at http://10.10.114.233:5601
  log [07:50:02.719] [error][status][ui settings] Status changed from uninitialized to red - Elasticsearch plugin is red

```

* * *

When I am disabled

#elasticsearch.username: "kibana"  
#elasticsearch.password: "kibanapassword" in kibana.yml

./kibana output is shown below . And Kibana Login page successfully loading in localhost:5601. But the username password not accepting.

* * *

```auto
 [07:49:01.515] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
  log [07:49:01.530] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
  log [07:49:01.669] [info][status][plugin:searchprofiler@5.3.0] Status changed from uninitialized to green - Ready
  log [07:49:01.707] [info][status][plugin:tilemap@5.3.0] Status changed from uninitialized to green - Ready
  log [07:49:08.195] [info][status][plugin:monitoring@5.3.0] Status changed from yellow to green - Ready
  log [07:49:08.216] [info][status][plugin:console@5.3.0] Status changed from uninitialized to green - Ready
  log [07:49:08.599] [info][status][plugin:timelion@5.3.0] Status changed from uninitialized to green - Ready
  log [07:49:08.606] [info][listening] Server running at http://10.10.114.233:5601
  log [07:49:08.608] [info][status][ui settings] Status changed from uninitialized to green - Ready

```

* * *

But Login Not success:

and localhost:5601 loaded kibana login page and asking for username and password

But login is not a success. Tires passwords are

case 1) username : kibana and password : kibanapassword ( Elasticsearch login disabled in kibana.yml )  
case 2) username : abcdefgh and password : 123xyz ( Elasticsearch login disabled in kibana.yml )

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [November 24, 2017, 9:22am UTC](https://discuss.elastic.co/t/xpack-kibana-username-password-not-accepting-login-failure/108988/2 "2017-11-24T09:22:22Z")

</div>

You are trying to follow the instructions for 6.0, but you are running 5.3

You need to read and follow the instructions for your version of Elasticsearch and Kibana.

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [November 24, 2017, 9:28am UTC](https://discuss.elastic.co/t/xpack-kibana-username-password-not-accepting-login-failure/108988/3 "2017-11-24T09:28:14Z")

</div>

Thanks Tim . I will check the proper version help.

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [November 24, 2017, 9:53am UTC](https://discuss.elastic.co/t/xpack-kibana-username-password-not-accepting-login-failure/108988/4 "2017-11-24T09:53:37Z")

</div>

Thank you, Tim . I followed the Xpack 5.3.0 Documentation. Now everything is fine. Xpack Woking well.

---

<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:** [December 22, 2017, 9:53am UTC](https://discuss.elastic.co/t/xpack-kibana-username-password-not-accepting-login-failure/108988/5 "2017-12-22T09:53:39Z")

</div>

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