# New Basic or (temporary) Trial license not being accepted

**URL:** <https://discuss.elastic.co/t/new-basic-or-temporary-trial-license-not-being-accepted/78624>\
**Category:** Elasticsearch\
**Created:** [March 15, 2017, 12:17am UTC](https://discuss.elastic.co/t/new-basic-or-temporary-trial-license-not-being-accepted/78624 "2017-03-15T00:17:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Dub](https://avatars.discourse-cdn.com/v4/letter/n/7993a0/32.png) [@Nick\_Dub](https://discuss.elastic.co/u/Nick_Dub)\
**Post date:** [March 15, 2017, 12:17am UTC](https://discuss.elastic.co/t/new-basic-or-temporary-trial-license-not-being-accepted/78624/1 "2017-03-15T00:17:13Z")

</div>

Our trial license for commercial plug-ins expired a few weeks ago. All commercial plug-ins were either uninstalled or disabled at that time. When trying to re-start the cluster with a new configuration just now, we first tried using a Basic license key (obtained by request from the Web site), then a temporary trial license key obtained from Elastic (which would support premium features, if they were installed).

In neither instance, are we able to restart the cluster. Neither key seems to be accepted.

Below are some details of our setup.

Any suggestions?

Thank you

======================================================

Command used to apply the new license

curl -XPUT '[http://node01:9200/\_license?master\_timeout=10m](http://node01:9200/_license?master_timeout=10m)' -d @[xxxxx]-non\_production-0c668ec8-14da-4144-8909-08d4992bd733-v2.json

======================================================  
Health Status Check

[root@node01 logs]# curl -XGET 'localhost:9200/\_cluster/health?pretty'  
{  
"cluster\_name" : "[xxxx]",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 4,  
"number\_of\_data\_nodes" : 4,  
"active\_primary\_shards" : 0,  
"active\_shards" : 0,  
"relocating\_shards" : 0,  
"initializing\_shards" : 12,  
"unassigned\_shards" : 556,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 3,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 196492,  
"active\_shards\_percent\_as\_number" : 0.0  
}

======================================================

What is in the tail of the elasticsearch.log file

[2017-03-14 23:41:08,561][INFO][license.plugin.core] [node01] license [a3a0c44e-5799-411d-acdf-c55a0d83fa7b] - expired  
[2017-03-14 23:41:08,567][ERROR][license.plugin.core] [node01]

# 

# LICENSE EXPIRED ON [Tuesday, February 28, 2017]. IF YOU HAVE A NEW LICENSE, PLEASE

# UPDATE IT. OTHERWISE, PLEASE REACH OUT TO YOUR SUPPORT CONTACT.

# 

[2017-03-14 23:41:09,125][INFO][gateway] [node01] recovered [62] indices into cluster\_state  
[2017-03-14 23:41:39,177][WARN][discovery.zen.publish] [node01] timed out waiting for all nodes to process published state [4] (timeout [30s], pending nodes: [{node02}{XAud-zghQTOHfwpi-sG5oA}{10.0.2.143}{10.0.2.143:9300}{master=false}, {node04}{wcJugRQ8T1qwpBxcsdLKgg}{10.0.2.199}{10.0.2.199:9300}{master=false}])  
[2017-03-14 23:41:49,969][WARN][rest.suppressed] path: /\_license, params: {master\_timeout=10m}  
ProcessClusterEventTimeoutException[failed to process cluster event (register license [0c668ec8-14da-4144-8909-08d4992bd733]) within 30s]  
at org.elasticsearch.cluster.service.InternalClusterService$2$1.run(InternalClusterService.java:349)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
at java.lang.Thread.run(Thread.java:745)

======================================================

Pending Tasks

[root@node01 logs]# curl 'localhost:9200/\_cat/pending\_tasks?v'  
insertOrder timeInQueue priority source  
8 5.9m HIGH cluster\_reroute(async\_shard\_fetch)  
10 5.4m HIGH _add\_listener_  
11 2.3m HIGH _add\_listener_

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 15, 2017, 11:38am UTC](https://discuss.elastic.co/t/new-basic-or-temporary-trial-license-not-being-accepted/78624/2 "2017-03-15T11:38:06Z")

</div>

Moved to #x-pack

BTW Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```
````

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [March 15, 2017, 3:26pm UTC](https://discuss.elastic.co/t/new-basic-or-temporary-trial-license-not-being-accepted/78624/3 "2017-03-15T15:26:48Z")

</div>

It looks like your cluster is red. Please resolve the other issues with your cluster, then the license should apply without problems.

---

<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:** [April 12, 2017, 3:27pm UTC](https://discuss.elastic.co/t/new-basic-or-temporary-trial-license-not-being-accepted/78624/4 "2017-04-12T15:27:15Z")

</div>

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