# Getting "Login is currently disabled because the license could not be determined." in Kibana

**URL:** https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421
**Category:** Kibana
**Created:** [October 26, 2017, 11:52am UTC](https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421 "2017-10-26T11:52:05Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)
#### Post date: [October 26, 2017, 11:52am UTC](https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421/1 "2017-10-26T11:52:06Z")

</div>

Hi,

I have installed Elasticsearch and Kibana along with X-Pack. Everything was working fine until I change the default password in Kibana. All of a sudden, `"Login is currently disabled because the license could not be determined. Please check that Elasticsearch has the X-Pack plugin installed and is reachable, then refresh this page."` this message came and not able to access Kibana.  
I have tried restarting Kibana, Elasticsearch and even the server but of no luck.  
I'm using 5.6.3 version of ELK and X-Pack.

Please find the Kibana status below.

```auto
Oct 26 19:18:18 elk01 kibana[690]: {"type":"response","@timestamp":"2017-10-26T11:18:18Z","tags":[],"pid":690,"method":"get","statusCode":200,"req":{"url":"/plugins/kibana/assets/discover.svg","method":"get","headers":{"host":"126.25.39.25:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://126.25.39.25:5601/login?next=%2F","cache-control":"max-age=0","connection":"Keep-Alive","x-bluecoat-via":"f604e77fa860b4e6"},"remoteAddress":"149.38.164.10","userAgent":"149.38.164.10","referer":"http://126.25.39.25:5601/login?next=%2F"},"res":{"statusCode":200,"responseTime":5,"contentLength":9},"message":"GET /plugins/kibana/assets/discover.svg 200 5ms - 9.0B"}
Oct 26 19:18:18 elk01 kibana[690]: {"type":"response","@timestamp":"2017-10-26T11:18:18Z","tags":[],"pid":690,"method":"get","statusCode":200,"req":{"url":"/plugins/kibana/assets/visualize.svg","method":"get","headers":{"host":"126.25.39.25:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://126.25.39.25:5601/login?next=%2F","cache-control":"max-age=0","connection":"Keep-Alive","x-bluecoat-via":"f604e77fa860b4e6"},"remoteAddress":"149.38.164.10","userAgent":"149.38.164.10","referer":"http://126.25.39.25:5601/login?next=%2F"},"res":{"statusCode":200,"responseTime":1,"contentLength":9},"message":"GET /plugins/kibana/assets/visualize.svg 200 1ms - 9.0B"}
Oct 26 19:18:18 elk01 kibana[690]: {"type":"response","@timestamp":"2017-10-26T11:18:18Z","tags":[],"pid":690,"method":"get","statusCode":200,"req":{"url":"/plugins/kibana/assets/dashboard.svg","method":"get","headers":{"host":"126.25.39.25:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://126.25.39.25:5601/login?next=%2F","cache-control":"max-age=0","connection":"Keep-Alive","x-bluecoat-via":"f604e77fa860b4e6"},"remoteAddress":"149.38.164.10","userAgent":"149.38.164.10","referer":"http://126.25.39.25:5601/login?next=%2F"},"res":{"statusCode":200,"responseTime":2,"contentLength":9},"message":"GET /plugins/kibana/assets/dashboard.svg 200 2ms - 9.0B"}
Oct 26 19:18:18 elk01 kibana[690]: {"type":"response","@timestamp":"2017-10-26T11:18:18Z","tags":[],"pid":690,"method":"get","statusCode":200,"req":{"url":"/plugins/timelion/icon.svg","method":"get","headers":{"host":"126.25.39.25:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://126.25.39.25:5601/login?next=%2F","cache-control":"max-age=0","connection":"Keep-Alive","x-bluecoat-via":"f604e77fa860b4e6"},"remoteAddress":"149.38.164.10","userAgent":"149.38.164.10","referer":"http://126.25.39.25:5601/login?next=%2F"},"res":{"statusCode":200,"responseTime":2,"contentLength":9},"message":"GET /plugins/timelion/icon.svg 200 2ms - 9.0B"}
Oct 26 19:18:18 elk01 kibana[690]: {"type":"response","@timestamp":"2017-10-26T11:18:18Z","tags":[],"pid":690,"method":"get","statusCode":200,"req":{"url":"/plugins/kibana/assets/wrench.svg","method":"get","headers":{"host":"126.25.39.25:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://126.25.39.25:5601/login?next=%2F","cache-control":"max-age=0","connection":"Keep-Alive","x-bluecoat-via":"f604e77fa860b4e6"},"remoteAddress":"149.38.164.10","userAgent":"149.38.164.10","referer":"http://126.25.39.25:5601/login?next=%2F"},"res":{"statusCode":200,"responseTime":1,"contentLength":9},"message":"GET /plugins/kibana/assets/wrench.svg 200 1ms - 9.0B"}
Oct 26 19:18:18 elk01 kibana[690]: {"type":"response","@timestamp":"2017-10-26T11:18:18Z","tags":[],"pid":690,"method":"get","statusCode":200,"req":{"url":"/plugins/monitoring/icons/monitoring.svg","method":"get","headers":{"host":"126.25.39.25:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://126.25.39.25:5601/login?next=%2F","cache-control":"max-age=0","connection":"Keep-Alive","x-bluecoat-via":"f604e77fa860b4e6"},"remoteAddress":"149.38.164.10","userAgent":"149.38.164.10","referer":"http://126.25.39.25:5601/login?next=%2F"},"res":{"statusCode":200,"responseTime":2,"contentLength":9},"message":"GET /plugins/monitoring/icons/monitoring.svg 200 2ms - 9.0B"}
Oct 26 19:18:18 elk01 kibana[690]: {"type":"response","@timestamp":"2017-10-26T11:18:18Z","tags":[],"pid":690,"method":"get","statusCode":200,"req":{"url":"/plugins/kibana/assets/settings.svg","method":"get","headers":{"host":"126.25.39.25:5601","user-agent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0","accept":"*/*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://126.25.39.25:5601/login?next=%2F","cache-control":"max-age=0","connection":"Keep-Alive","x-bluecoat-via":"f604e77fa860b4e6"},"remoteAddress":"149.38.164.10","userAgent":"149.38.164.10","referer":"http://126.25.39.25:5601/login?next=%2F"},"res":{"statusCode":200,"responseTime":2,"contentLength":9},"message":"GET /plugins/kibana/assets/settings.svg 200 2ms - 9.0B"}
...

```

Please help to resolve the issue.

Thanks in advance,  
Dharma Sanjay Reddy M.

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [October 27, 2017, 12:42am UTC](https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421/2 "2017-10-27T00:42:33Z")

</div>

Are you looking to change the Elasticsearch credentials?

There are two credentials Kibana generally uses. The built-in "kibana" user, which inherits the `kibana_system` role. This user is what the Kibana backend uses to manage mappings, etc. To change the default password, you can login to Kibana and goto `Management > Security > Users`, select the Kibana user and choose Change Password. It will also remind you to update the `kibana.yml`

Any users you would like to use can be added to the `kibana_user` role. You can continue to use the provided `elastic` user and change it's password. Or, create a new user and add the `kibana` role to it.

---

<div class="post-metadata">

### Author: ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)
#### Post date: [October 27, 2017, 1:57am UTC](https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421/3 "2017-10-27T01:57:42Z")

</div>

Hi @tylersmalley,  
Thanks for the quick response.

I have changed the password for elastic user and have created few users with "kibana\_user" role.  
When I refreshed the page, login is blocked and it shows the message `"Login is currently disabled because the license could not be determined. Please check that Elasticsearch has the X-Pack plugin installed and is reachable, then refresh this page."`.

I have tried updating the license but it says `Error 404`.  
Should I change anything, please let me know

Thanks,  
Dharma Sanjay Reddy M.

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [October 27, 2017, 1:58am UTC](https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421/4 "2017-10-27T01:58:50Z")

</div>

This is because of the credentials in the `kibana.yml` file. You will need to update those to reflect your changes. I would recommend using the `kibana` user for this.

---

<div class="post-metadata">

### Author: ![sanju1323](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sanju1323](https://discuss.elastic.co/u/sanju1323)
#### Post date: [October 30, 2017, 5:07am UTC](https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421/5 "2017-10-30T05:07:04Z")

</div>

Thanku @tylersmalley  
You saved my day. I haven't updated the same in `Kibna.yml` file which was creating the problem.

Thanks Again,  
Dharma Sanjay Reddy M.

---

<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: [November 27, 2017, 5:07am UTC](https://discuss.elastic.co/t/getting-login-is-currently-disabled-because-the-license-could-not-be-determined-in-kibana/105421/6 "2017-11-27T05:07:33Z")

</div>

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