# Node not available exception

**URL:** https://discuss.elastic.co/t/node-not-available-exception/40279
**Category:** Elasticsearch
**Created:** [January 27, 2016, 7:29pm UTC](https://discuss.elastic.co/t/node-not-available-exception/40279 "2016-01-27T19:29:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![echin1999\_2](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@echin1999\_2](https://discuss.elastic.co/u/echin1999_2)
#### Post date: [January 27, 2016, 7:29pm UTC](https://discuss.elastic.co/t/node-not-available-exception/40279/1 "2016-01-27T19:29:50Z")

</div>

Hi,

I have elasticsearch (cluster of two nodes) set up in my Amazon Web Services (AWS) environment. I have a number of clients, all within AWS, hitting this elasticsearch server. For one group of clients, we periodically get this exception:

Caused by: org.elasticsearch.client.transport.NoNodeAvailableException: No node available  
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:202)  
at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)  
at org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:214)  
at org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:400)  
at org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:836)  
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:62)  
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:57)

The only difference we see between this group and another group that doesn't get any errors is that this group isn't as active.

From googling, we saw that some people suggested it may be due to some sort of timing out. So we applied the following suggestion to the instance:

net.ipv4.tcp\_keepalive\_time=600  
net.ipv4.tcp\_keepalive\_intvl=60  
net.ipv4.tcp\_keepalive\_probes=3

but we still get the occasional instance.

Before I contacted AWS support for assistance, I thought I'd post something here in case someone has any suggestions.

BTW, I'm still on version 0.90.

Thanks.

---

<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: [July 5, 2017, 11:20pm UTC](https://discuss.elastic.co/t/node-not-available-exception/40279/2 "2017-07-05T23:20:59Z")

</div>


