# Red bars, js errors (404 on Siren ping) = license issues?

**URL:** <https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269>\
**Category:** Siren Platform/Investigate Tech Support Community\
**Created:** [June 4, 2020, 3:32pm UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269 "2020-06-04T15:32:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![judge](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/judge/32/156_2.png) [@judge](https://community.siren.io/u/judge)\
**Post date:** [June 4, 2020, 3:32pm UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/1 "2020-06-04T15:32:56Z")

</div>

I’m starting to get a lot of “License: could not verify license: [h] Unable to initialize job”  
… red message bars at the top of Investigate.  
(ES 6.8.5, federate and Siren 10.4.0)

This happens often, and the Chrome dev console shows that Siren is burping 404 to ‘ping’ requests, then the uncaught javascript error  
**TypeError: Cannot read property ‘license\_content’ of undefined**

 ![Screen Shot 2020-06-04 at 11.24.51 AM](https://canada1.discourse-cdn.com/flex032/uploads/siren/original/1X/fd323bf0d28e2754178e42e3e816c3a95be58149.png)

So, for fun, I re-PUT the license again. Still red bars.  
curl -XPUT -H ‘Content-Type: application/json’ -T license.json [http://xxxxx:9200/\_siren/license](http://xxxxx:9200/_siren/license)’

BACKGROUND: recently, this 6-node cluster has been having a node go down, possibly due to heap issues/resource-exhaustion issues in java.

---

<div class="post-metadata">

**Author:** ![judge](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/judge/32/156_2.png) [@judge](https://community.siren.io/u/judge)\
**Post date:** [June 4, 2020, 3:34pm UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/2 "2020-06-04T15:34:05Z")

</div>

opening xx:5606/session/ping gives

{“statusCode”:404,“error”:“Not Found”,“message”:"[h] Unable to initialize job 7597ee68-0ba6-485e-86a5-e96bc9040fc2 due to node request failures., with { suppressed={ 0={ type=“failed\_node\_exception” & reason=“Failed node [F7HEWZkMSM6amT0e1vYCBQ]” & node\_id=“F7HEWZkMSM6amT0e1vYCBQ” } } }"}

---

<div class="post-metadata">

**Author:** ![Manu\_Agarwal](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/manu_agarwal/32/120_2.png) [@Manu\_Agarwal](https://community.siren.io/u/Manu_Agarwal)\
**Post date:** [June 4, 2020, 4:02pm UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/3 "2020-06-04T16:02:57Z")

</div>

Hi judge,

Can you please check the ElasticSearch Cluster Health status

curl -X GET “localhost:9200/\_cat/health?v&pretty”

Also, please check if all the Elasticsearch nodes are up and running and cross-check the investigate.yml file to verify if it is pointing to correct ES nodes, please try restart of ES and Investigate. Moreover, if this is because of memory can you check the `Xms` (minimum heap size) and `Xmx` (maximum heap size) settings in jvm.options what is the size present. It should be 50 percent of the RAM of the server with a maximum value to 32 GB.

Regards  
Manu Agarwal

---

<div class="post-metadata">

**Author:** ![judge](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/judge/32/156_2.png) [@judge](https://community.siren.io/u/judge)\
**Post date:** [June 4, 2020, 4:41pm UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/4 "2020-06-04T16:41:08Z")

</div>

> [@Manu\_Agarwal](#):
>
> curl -X GET “localhost:9200/\_cat/health?v&pretty”

Thanks for the quick response… I can’t check it right now:

I just restarted that bad node, then started having problems with all nodes (log file errors). So, I restarted all the nodes.  
There was a problem with a missing shard, so I DELETE’d the index and restored that index.

I’ll let them settle down, finish reallocation, then check them again.  
If the Siren issue goes away: then the underlying node/shard issue was causing it … which was what I am assuming.

Just FYI … the javscript core to access “license\_content” on a failed/undefined object, causing the Siren message of licensing issues distracted us for a while. I’m thinking … It’d be nice if Siren had the developers check the variable before assuming licensing is the issue.

---

<div class="post-metadata">

**Author:** ![judge](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/judge/32/156_2.png) [@judge](https://community.siren.io/u/judge)\
**Post date:** [June 5, 2020, 1:53pm UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/5 "2020-06-05T13:53:16Z")

</div>

OK – reloaded from snapshot and solved our underlying issue. Its clear this was a non-Siren issue, but that Siren’s license check simply goes to red when an undefined javacscript object is returned from a REST query.

Thanks!

```
epoch timestamp cluster status node.total node.data shards pri relo init unassign pending_tasks max_task_wait_time active_shards_percent
1591364995 13:49:55 sharktank green 6 6 438 201 2 0 0 0 - 100.0%
```

---

<div class="post-metadata">

**Author:** ![Manu\_Agarwal](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/manu_agarwal/32/120_2.png) [@Manu\_Agarwal](https://community.siren.io/u/Manu_Agarwal)\
**Post date:** [June 9, 2020, 8:42am UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/6 "2020-06-09T08:42:39Z")

</div>

Great nice to hear it, We will check internally about the Siren’s license check simply goes to red when an undefined JavaScript object is returned from a REST query.

---

<div class="post-metadata">

**Author:** ![djemy\_joy](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/djemy_joy/32/323_2.png) [@djemy\_joy](https://community.siren.io/u/djemy_joy)\
**Post date:** [November 19, 2024, 8:50am UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/7 "2024-11-19T08:50:21Z")

</div>

i want to get trial license

---

<div class="post-metadata">

**Author:** ![Manu\_Agarwal](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.siren.io/manu_agarwal/32/120_2.png) [@Manu\_Agarwal](https://community.siren.io/u/Manu_Agarwal)\
**Post date:** [January 10, 2025, 9:38am UTC](https://community.siren.io/t/red-bars-js-errors-404-on-siren-ping-license-issues/269/8 "2025-01-10T09:38:50Z")

</div>

Sorry about the delay in reply, please raise a request here [Siren 14 - Simple Search + Officer Safety On Mobile](https://info.siren.io/siren14) or drop the mail to [sales@siren.io](mailto:sales@siren.io) to get the trial license for your deployment.
