# Occasionally "failed to get node info" and "no node available" error

**URL:** https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836
**Category:** Elasticsearch
**Created:** [February 29, 2012, 8:07am UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836 "2012-02-29T08:07:21Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![xiaofeng](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@xiaofeng](https://discuss.elastic.co/u/xiaofeng)
#### Post date: [February 29, 2012, 8:07am UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/1 "2012-02-29T08:07:21Z")

</div>

Our ES system works fine most of the time, but occasionally see  
exceptions as follows:

2012-02-29 12:33:53 INFO [org.elasticsearch.client.transport]:109 Line

- [Ezekiel] failed to get node info for [Ani-Mator][q4e\_N2YaRsiJy4a-  
U7xTEg][inet[/10.35.0.210:9300]], disconnecting...  
org.elasticsearch.transport.ReceiveTimeoutTransportException: [Ani-  
Mator][inet[/10.35.0.210:9300]][cluster/nodes/info] request\_id [60]  
timed out after [5004ms]  
at org.elasticsearch.transport.TransportService  
$TimeoutHandler.run(TransportService.java:347)  
at java.util.concurrent.ThreadPoolExecutor  
$Worker.runTask(ThreadPoolExecutor.java:886)  
at java.util.concurrent.ThreadPoolExecutor  
$Worker.run(ThreadPoolExecutor.java:908)  
at java.lang.Thread.run(Thread.java:619)

and then

org.elasticsearch.client.transport.NoNodeAvailableException: No node  
available  
at  
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:  
170)  
at  
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:  
97)  
at  
org.elasticsearch.client.support.AbstractClient.count(AbstractClient.java:  
236)  
at  
org.elasticsearch.client.transport.TransportClient.count(TransportClient.java:  
337)  
at  
org.elasticsearch.action.count.CountRequestBuilder.doExecute(CountRequestBuilder.java:  
124)  
at  
org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuilder.java:  
53)  
at  
org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuilder.java:  
47)

The cluster was in the same machine, one node with 3 shards. And there  
should be no network problem.

any idea what caused such an error?

---

<div class="post-metadata">

### Author: ![xiaofeng](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@xiaofeng](https://discuss.elastic.co/u/xiaofeng)
#### Post date: [February 29, 2012, 8:27am UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/2 "2012-02-29T08:27:16Z")

</div>

The strange thing is, we used several threads to ran queries, when one  
thread encountered the "failed to get node info", other threads were  
working quite well.

On 2月29日, 下午4时07分, xiaofengy [xfyang...@gmail.com](mailto:xfyang...@gmail.com) wrote:

> Our ES system works fine most of the time, but occasionally see  
> exceptions as follows:
> 
> 2012-02-29 12:33:53 INFO [org.elasticsearch.client.transport]:109 Line
> 
> - [Ezekiel] failed to get node info for [Ani-Mator][q4e\_N2YaRsiJy4a-  
> U7xTEg][inet[/10.35.0.210:9300]], disconnecting...  
> org.elasticsearch.transport.ReceiveTimeoutTransportException: [Ani-  
> Mator][inet[/10.35.0.210:9300]][cluster/nodes/info] request\_id [60]  
> timed out after [5004ms]  
> at org.elasticsearch.transport.TransportService  
> $TimeoutHandler.run(TransportService.java:347)  
> at java.util.concurrent.ThreadPoolExecutor  
> $Worker.runTask(ThreadPoolExecutor.java:886)  
> at java.util.concurrent.ThreadPoolExecutor  
> $Worker.run(ThreadPoolExecutor.java:908)  
> at java.lang.Thread.run(Thread.java:619)
> 
> and then
> 
> org.elasticsearch.client.transport.NoNodeAvailableException: No node  
> available  
> at  
> org.elasticsearch.client.transport.TransportClientNodesService.execute(Tran sportClientNodesService.java:  
> 170)  
> at  
> org.elasticsearch.client.transport.support.InternalTransportClient.execute( InternalTransportClient.java:  
> 97)  
> at  
> org.elasticsearch.client.support.AbstractClient.count(AbstractClient.java:  
> 236)  
> at  
> org.elasticsearch.client.transport.TransportClient.count(TransportClient.ja va:  
> 337)  
> at  
> org.elasticsearch.action.count.CountRequestBuilder.doExecute(CountRequestBu ilder.java:  
> 124)  
> at  
> org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> 53)  
> at  
> org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> 47)
> 
> The cluster was in the same machine, one node with 3 shards. And there  
> should be no network problem.
> 
> any idea what caused such an error?

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [February 29, 2012, 2:26pm UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/3 "2012-02-29T14:26:11Z")

</div>

How many nodes do you connect to in the cluster. The failure means that the transport client periodic check and buildup of the node list has failed to get the node info for that specific node.

On Wednesday, February 29, 2012 at 10:27 AM, xiaofengy wrote:

> The strange thing is, we used several threads to ran queries, when one  
> thread encountered the "failed to get node info", other threads were  
> working quite well.
> 
> On 2月29日, 下午4时07分, xiaofengy \<[xfyang...@gmail.com](mailto:xfyang...@gmail.com) ([http://gmail.com](http://gmail.com))\> wrote:
> 
> > Our ES system works fine most of the time, but occasionally see  
> > exceptions as follows:
> > 
> > 2012-02-29 12:33:53 INFO [org.elasticsearch.client.transport]:109 Line
> > 
> > - [Ezekiel] failed to get node info for [Ani-Mator][q4e\_N2YaRsiJy4a-  
> > U7xTEg][inet[/10.35.0.210:9300]], disconnecting...  
> > org.elasticsearch.transport.ReceiveTimeoutTransportException: [Ani-  
> > Mator][inet[/10.35.0.210:9300]][cluster/nodes/info] request\_id [60]  
> > timed out after [5004ms]  
> > at org.elasticsearch.transport.TransportService  
> > $TimeoutHandler.run(TransportService.java:347)  
> > at java.util.concurrent.ThreadPoolExecutor  
> > $Worker.runTask(ThreadPoolExecutor.java:886)  
> > at java.util.concurrent.ThreadPoolExecutor  
> > $Worker.run(ThreadPoolExecutor.java:908)  
> > at java.lang.Thread.run(Thread.java:619)
> > 
> > and then
> > 
> > org.elasticsearch.client.transport.NoNodeAvailableException: No node  
> > available  
> > at  
> > org.elasticsearch.client.transport.TransportClientNodesService.execute(Tran sportClientNodesService.java:  
> > 170)  
> > at  
> > org.elasticsearch.client.transport.support.InternalTransportClient.execute( InternalTransportClient.java:  
> > 97)  
> > at  
> > org.elasticsearch.client.support.AbstractClient.count(AbstractClient.java:  
> > 236)  
> > at  
> > org.elasticsearch.client.transport.TransportClient.count(TransportClient.ja va:  
> > 337)  
> > at  
> > org.elasticsearch.action.count.CountRequestBuilder.doExecute(CountRequestBu ilder.java:  
> > 124)  
> > at  
> > org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> > 53)  
> > at  
> > org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> > 47)
> > 
> > The cluster was in the same machine, one node with 3 shards. And there  
> > should be no network problem.
> > 
> > any idea what caused such an error?

---

<div class="post-metadata">

### Author: ![xunyong](https://avatars.discourse-cdn.com/v4/letter/x/c6cbf5/32.png) [@xunyong](https://discuss.elastic.co/u/xunyong)
#### Post date: [March 1, 2012, 2:33am UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/4 "2012-03-01T02:33:13Z")

</div>

The client uses the connection pool(pool size to 10).Simulated 20 threads at the same time inserted, each thread to ensure that the connection connect and disconnect.

---

<div class="post-metadata">

### Author: ![xunyong](https://avatars.discourse-cdn.com/v4/letter/x/c6cbf5/32.png) [@xunyong](https://discuss.elastic.co/u/xunyong)
#### Post date: [March 1, 2012, 2:34am UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/5 "2012-03-01T02:34:54Z")

</div>

I think this error may be mongoDB caused. mongoDB and ES is currently installed on the same machine. After turn off mongodb, not the discovery of the error.

---

<div class="post-metadata">

### Author: ![xiaofeng](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@xiaofeng](https://discuss.elastic.co/u/xiaofeng)
#### Post date: [March 1, 2012, 6:26am UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/6 "2012-03-01T06:26:02Z")

</div>

We have only one node in the cluster.

We ran mongoDB at the same machine. And after stopping the mongo  
service, and we haven't seen the failure so far.

So we suspect the failure may be due to insufficient resource  
(cpu,io,mem) on the node?

On 2月29日, 下午10时26分, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> How many nodes do you connect to in the cluster. The failure means that the transport client periodic check and buildup of the node list has failed to get the node info for that specific node.
> 
> On Wednesday, February 29, 2012 at 10:27 AM, xiaofengy wrote:
> 
> > The strange thing is, we used several threads to ran queries, when one  
> > thread encountered the "failed to get node info", other threads were  
> > working quite well.
> 
> > On 2月29日, 下午4时07分, xiaofengy \<[xfyang...@gmail.com](mailto:xfyang...@gmail.com) ([http://gmail.com](http://gmail.com))\> wrote:
> > 
> > > Our ES system works fine most of the time, but occasionally see  
> > > exceptions as follows:
> 
> > > 2012-02-29 12:33:53 INFO [org.elasticsearch.client.transport]:109 Line
> > > 
> > > - [Ezekiel] failed to get node info for [Ani-Mator][q4e\_N2YaRsiJy4a-  
> > > U7xTEg][inet[/10.35.0.210:9300]], disconnecting...  
> > > org.elasticsearch.transport.ReceiveTimeoutTransportException: [Ani-  
> > > Mator][inet[/10.35.0.210:9300]][cluster/nodes/info] request\_id [60]  
> > > timed out after [5004ms]  
> > > at org.elasticsearch.transport.TransportService  
> > > $TimeoutHandler.run(TransportService.java:347)  
> > > at java.util.concurrent.ThreadPoolExecutor  
> > > $Worker.runTask(ThreadPoolExecutor.java:886)  
> > > at java.util.concurrent.ThreadPoolExecutor  
> > > $Worker.run(ThreadPoolExecutor.java:908)  
> > > at java.lang.Thread.run(Thread.java:619)
> 
> > > and then
> 
> > > org.elasticsearch.client.transport.NoNodeAvailableException: No node  
> > > available  
> > > at  
> > > org.elasticsearch.client.transport.TransportClientNodesService.execute(Tran sportClientNodesService.java:  
> > > 170)  
> > > at  
> > > org.elasticsearch.client.transport.support.InternalTransportClient.execute( InternalTransportClient.java:  
> > > 97)  
> > > at  
> > > org.elasticsearch.client.support.AbstractClient.count(AbstractClient.java:  
> > > 236)  
> > > at  
> > > org.elasticsearch.client.transport.TransportClient.count(TransportClient.ja va:  
> > > 337)  
> > > at  
> > > org.elasticsearch.action.count.CountRequestBuilder.doExecute(CountRequestBu ilder.java:  
> > > 124)  
> > > at  
> > > org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> > > 53)  
> > > at  
> > > org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> > > 47)
> 
> > > The cluster was in the same machine, one node with 3 shards. And there  
> > > should be no network problem.
> 
> > > any idea what caused such an error?

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [March 1, 2012, 12:34pm UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/7 "2012-03-01T12:34:59Z")

</div>

Sounds like it...

On Thursday, March 1, 2012 at 8:26 AM, xiaofengy wrote:

> We have only one node in the cluster.
> 
> We ran mongoDB at the same machine. And after stopping the mongo  
> service, and we haven't seen the failure so far.
> 
> So we suspect the failure may be due to insufficient resource  
> (cpu,io,mem) on the node?
> 
> On 2月29日, 下午10时26分, Shay Banon \<[kim...@gmail.com](mailto:kim...@gmail.com) ([http://gmail.com](http://gmail.com))\> wrote:
> 
> > How many nodes do you connect to in the cluster. The failure means that the transport client periodic check and buildup of the node list has failed to get the node info for that specific node.
> > 
> > On Wednesday, February 29, 2012 at 10:27 AM, xiaofengy wrote:
> > 
> > > The strange thing is, we used several threads to ran queries, when one  
> > > thread encountered the "failed to get node info", other threads were  
> > > working quite well.
> > 
> > > On 2月29日, 下午4时07分, xiaofengy \<[xfyang...@gmail.com](mailto:xfyang...@gmail.com) ([http://gmail.com](http://gmail.com))\> wrote:
> > > 
> > > > Our ES system works fine most of the time, but occasionally see  
> > > > exceptions as follows:
> > 
> > > > 2012-02-29 12:33:53 INFO [org.elasticsearch.client.transport]:109 Line
> > > > 
> > > > - [Ezekiel] failed to get node info for [Ani-Mator][q4e\_N2YaRsiJy4a-  
> > > > U7xTEg][inet[/10.35.0.210:9300]], disconnecting...  
> > > > org.elasticsearch.transport.ReceiveTimeoutTransportException: [Ani-  
> > > > Mator][inet[/10.35.0.210:9300]][cluster/nodes/info] request\_id [60]  
> > > > timed out after [5004ms]  
> > > > at org.elasticsearch.transport.TransportService  
> > > > $TimeoutHandler.run(TransportService.java:347)  
> > > > at java.util.concurrent.ThreadPoolExecutor  
> > > > $Worker.runTask(ThreadPoolExecutor.java:886)  
> > > > at java.util.concurrent.ThreadPoolExecutor  
> > > > $Worker.run(ThreadPoolExecutor.java:908)  
> > > > at java.lang.Thread.run(Thread.java:619)
> > 
> > > > and then
> > 
> > > > org.elasticsearch.client.transport.NoNodeAvailableException: No node  
> > > > available  
> > > > at  
> > > > org.elasticsearch.client.transport.TransportClientNodesService.execute(Tran sportClientNodesService.java:  
> > > > 170)  
> > > > at  
> > > > org.elasticsearch.client.transport.support.InternalTransportClient.execute( InternalTransportClient.java:  
> > > > 97)  
> > > > at  
> > > > org.elasticsearch.client.support.AbstractClient.count(AbstractClient.java:  
> > > > 236)  
> > > > at  
> > > > org.elasticsearch.client.transport.TransportClient.count(TransportClient.ja va:  
> > > > 337)  
> > > > at  
> > > > org.elasticsearch.action.count.CountRequestBuilder.doExecute(CountRequestBu ilder.java:  
> > > > 124)  
> > > > at  
> > > > org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> > > > 53)  
> > > > at  
> > > > org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuil der.java:  
> > > > 47)
> > 
> > > > The cluster was in the same machine, one node with 3 shards. And there  
> > > > should be no network problem.
> > 
> > > > any idea what caused such an error?

---

<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 6, 2017, 3:37am UTC](https://discuss.elastic.co/t/occasionally-failed-to-get-node-info-and-no-node-available-error/6836/8 "2017-07-06T03:37:44Z")

</div>


