# 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

**URL:** https://discuss.elastic.co/t/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/101148
**Category:** Kibana
**Created:** [September 20, 2017, 10:30am UTC](https://discuss.elastic.co/t/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/101148 "2017-09-20T10:30:24Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 20, 2017, 10:30am UTC](https://discuss.elastic.co/t/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/101148/1 "2017-09-20T10:30:24Z")

</div>

Hi,

This was raised here in the past, yet I couldn't find the answer for my use case:  
I installed Logstash (5.6.0), ElasticSearch (5.6.0) and Kibana (5.6.0) in the same machine. I was able to access Kibana and play a little with elasticsearch.  
After I installed x-pack (5.6.0), I recieved the following message when I'm trying to enter Kibana's portal:  
"\_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 read here that I need to update the expired license (which was expired after 2 days - odd), but I can't update the new downloaded license, because I can't access Kibana.

Please help.  
Please bare in mind that this is my first experience with ES

Thanks!  
Joe

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [September 20, 2017, 10:31am UTC](https://discuss.elastic.co/t/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/101148/2 "2017-09-20T10:31:23Z")

</div>

[https://www.elastic.co/guide/en/x-pack/5.6/installing-license.html](https://www.elastic.co/guide/en/x-pack/5.6/installing-license.html) should get you sorted out.

---

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 20, 2017, 10:56am UTC](https://discuss.elastic.co/t/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/101148/3 "2017-09-20T10:56:11Z")

</div>

Thanks for your prompt response.

I followed the instractions and received the follow response:

PS C:\Users\Administrator\> gc .\yossi-carmon-05378c9c-9e7a-4778-92e8-dc42ef0bc0d1-v5.json | Invoke-WebRequest -uri http  
://localhost:9200/\_xpack/license -Credential Administrator -Method Put  
Invoke-WebRequest : Unable to connect to the remote server  
At line:1 char:67

- ... -v5.json | Invoke-WebRequest -uri [http://localhost:9200/\_xpack/licen](http://localhost:9200/_xpack/licen) ...
- 

```
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

```

  - CategoryInfo : NotSpecified: (🙂 [Invoke-WebRequest], WebException
  - FullyQualifiedErrorId : System.Net.WebException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

---

<div class="post-metadata">

### Author: ![tm106907](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@tm106907](https://discuss.elastic.co/u/tm106907)
#### Post date: [September 21, 2017, 3:46pm UTC](https://discuss.elastic.co/t/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/101148/4 "2017-09-21T15:46:36Z")

</div>

This is something I just recently started experiencing as well after recent updates to my cluster. My elasticsearch logs do show the license as valid and I've tried refreshing it. And Kibana continuously says the license could not be determined.

Could this be an issue with the x-pack plugin for Kibana? Because in the past I have manually upgraded the x-pack plugin like I usually do after an update/upgrade and that cluster has always come back fine now for except for this time.

Any input and feedback on this would be greatly appreciated.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 21, 2017, 3:56pm UTC](https://discuss.elastic.co/t/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/101148/5 "2017-09-21T15:56:28Z")

</div>

Hi,

We had a bug on our license poller in Kibana. Is it possible for you to restart both elasticsearch and Kibana?  
That will restart the poller.

If you can't: let me know. I will hunt around for when the fix went it.

Which version of the stack are you on right now?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 21, 2017, 5:00pm UTC](https://discuss.elastic.co/t/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/101148/6 "2017-09-21T17:00:09Z")

</div>

I still suffers from the same problem. Thought on removing it and maybe install it again.  
Is there any other solution?

---

<div class="post-metadata">

### Author: ![tm106907](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@tm106907](https://discuss.elastic.co/u/tm106907)
#### Post date: [September 21, 2017, 5:22pm UTC](https://discuss.elastic.co/t/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/101148/7 "2017-09-21T17:22:35Z")

</div>

I'm currently on 5.6.0 and all I have been doing since the update is restarting both elasticsearch and kibana on my kibana hosts, reinstalling plugins, refreshing license and tweaking kibana.yaml with no luck.

I see there's now a 5.6.1-1 available on my local repositories, would this address this bug you mention?

Thanks!

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 21, 2017, 6:01pm UTC](https://discuss.elastic.co/t/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/101148/8 "2017-09-21T18:01:50Z")

</div>

Hi,

I cannot reproduce this in my local darwin. So, not at all sure whats happening.  
Can you all let me know which OS you all are on?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 21, 2017, 6:15pm UTC](https://discuss.elastic.co/t/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/101148/9 "2017-09-21T18:15:11Z")

</div>

I'm using Windows Server 2016 STD version

---

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 21, 2017, 6:15pm UTC](https://discuss.elastic.co/t/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/101148/10 "2017-09-21T18:15:46Z")

</div>

I'm now downloading version 5.6.1.

---

<div class="post-metadata">

### Author: ![tm106907](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@tm106907](https://discuss.elastic.co/u/tm106907)
#### Post date: [September 21, 2017, 6:26pm UTC](https://discuss.elastic.co/t/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/101148/11 "2017-09-21T18:26:36Z")

</div>

I'm currently running my whole cluster on **_Red Hat Enterprise Linux 7.4 Maipo_**

Interesting that this is happening for hackilberry in Windows Server though.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 21, 2017, 6:36pm UTC](https://discuss.elastic.co/t/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/101148/12 "2017-09-21T18:36:15Z")

</div>

Yep. Hunting around a windows machine to try this.

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 21, 2017, 6:41pm UTC](https://discuss.elastic.co/t/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/101148/13 "2017-09-21T18:41:39Z")

</div>

Can you post your Kibana and ES logs too?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 21, 2017, 6:44pm UTC](https://discuss.elastic.co/t/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/101148/14 "2017-09-21T18:44:31Z")

</div>

Sure. Where can I find Kibana's log?

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 21, 2017, 6:55pm UTC](https://discuss.elastic.co/t/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/101148/15 "2017-09-21T18:55:13Z")

</div>

Ok. Let's break this down.

Hey TM - can you please make a separate thread about about your issue? Also upgrade to 5.6.1?  
And keep us posted?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![tm106907](https://avatars.discourse-cdn.com/v4/letter/t/76d3ee/32.png) [@tm106907](https://discuss.elastic.co/u/tm106907)
#### Post date: [September 21, 2017, 7:09pm UTC](https://discuss.elastic.co/t/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/101148/16 "2017-09-21T19:09:39Z")

</div>

Will do both - thanks!

TM

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 21, 2017, 7:14pm UTC](https://discuss.elastic.co/t/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/101148/17 "2017-09-21T19:14:33Z")

</div>

awesome. What happens if you add x-pack on it?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 21, 2017, 7:18pm UTC](https://discuss.elastic.co/t/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/101148/18 "2017-09-21T19:18:35Z")

</div>

I now created a clean VM machine with windows 2016 server and clean installation of ES 5.6.1, Kibana 5.6.1, Logstash and X-Pack.  
I finished to install ES, and now I'm finishing the installation for Kibana.  
I will run it before I will install X-Pack, so you can compare both logs.  
Give me 10 min to send it to you

---

<div class="post-metadata">

### Author: ![hackilberry](https://avatars.discourse-cdn.com/v4/letter/h/87869e/32.png) [@hackilberry](https://discuss.elastic.co/u/hackilberry)
#### Post date: [September 21, 2017, 7:27pm UTC](https://discuss.elastic.co/t/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/101148/19 "2017-09-21T19:27:22Z")

</div>

This is the log after installing version 5.6.1 for ES and Kibana. I CAN access Kibana

C:\kibana-5.6.1-windows-x86\bin\>kibana  
log [04:21:11.552] [info][status][plugin:kibana@5.6.1] Status changed from uninitialized to green - Ready  
log [04:21:11.631] [info][status][plugin:elasticsearch@5.6.1] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [04:21:11.646] [info][status][plugin:console@5.6.1] Status changed from uninitialized to green - Ready  
log [04:21:11.662] [info][status][plugin:metrics@5.6.1] Status changed from uninitialized to green - Ready  
log [04:21:11.849] [info][status][plugin:timelion@5.6.1] Status changed from uninitialized to green - Ready  
log [04:21:11.849] [info][listening] Server running at [http://localhost:5601](http://localhost:5601)  
log [04:21:11.849] [info][status][ui settings] Status changed from uninitialized to yellow - Elasticsearch plugin is yellow  
log [04:21:16.927] [info][status][plugin:elasticsearch@5.6.1] Status changed from yellow to yellow - No existing Kibana index found  
log [04:21:18.256] [info][status][plugin:elasticsearch@5.6.1] Status changed from yellow to green - Kibana index ready  
log [04:21:18.256] [info][status][ui settings] Status changed from yellow to green - Ready

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 21, 2017, 7:30pm UTC](https://discuss.elastic.co/t/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/101148/20 "2017-09-21T19:30:05Z")

</div>

> [@bhavyarm](#):
>
> awesome. What happens if you add x-pack on it?
> 
> Thanks,
> 
> Bhavya

Sorry posted it as a reply to another question 🙂

[Next page](https://discuss.elastic.co/t/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/101148.md?page=2)
