# NoNodeAvailableException None of the configured nodes are available:

**URL:** <https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available/82446>\
**Category:** Elasticsearch\
**Created:** [April 14, 2017, 7:45pm UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available/82446 "2017-04-14T19:45:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahade01](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@mahade01](https://discuss.elastic.co/u/mahade01)\
**Post date:** [April 14, 2017, 7:45pm UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available/82446/1 "2017-04-14T19:45:33Z")

</div>

I was upgrading ElasticSeach to 5.2.0 in my project from 1.0.1. I have the below setting in my Java client 🙂

Settings settings = Settings.builder().put("[cluster.name](http://cluster.name)", SpringPropertiesUtil.getProperty("[cluster.name](http://cluster.name)")).  
put("client.transport.ping\_timeout",SpringPropertiesUtil.getProperty("elastic.ping.timeout")).  
put("client.transport.nodes\_sampler\_interval",SpringPropertiesUtil.getProperty("elastic.sampler.interval")).  
put("client.transport.sniff", true).  
put("[node.name](http://node.name)",SpringPropertiesUtil.getProperty("[search.node.name](http://search.node.name)")).build();

```
			client = new PreBuiltTransportClient(settings)
			.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName(getIndexHostName()), getIndexPort()));
		} 

```

I am getting the below error :

com.nielsen.gps.core.exception.CoreException: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{nHJg96D5RyWqFYvSCOpcPg}{[xxx.xxx.com](http://xxx.xxx.com)}{[xx.xx.xx.xxx:9330](http://xx.xx.xx.xxx:9330)}]]  
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:344)  
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:242)  
at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59

---

<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:** [April 17, 2017, 5:24am UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available/82446/2 "2017-04-17T05:24:56Z")

</div>

Did you upgrade the client as well?

---

<div class="post-metadata">

**Author:** ![mahade01](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@mahade01](https://discuss.elastic.co/u/mahade01)\
**Post date:** [April 17, 2017, 4:36pm UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available/82446/3 "2017-04-17T16:36:54Z")

</div>

Thanks Warkolm for responding.  
Do you mean by PreBuiltTransportClient. I upgraded it to transport-5.2.0.

Please let me know which client you are referring to upgrade.

Thanks and Regards  
Debidutta

---

<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:** [May 15, 2017, 4:44pm UTC](https://discuss.elastic.co/t/nonodeavailableexception-none-of-the-configured-nodes-are-available/82446/4 "2017-05-15T16:44:56Z")

</div>

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