# Issue having none of the configured nodes are available

**URL:** <https://discuss.elastic.co/t/issue-having-none-of-the-configured-nodes-are-available/82609>\
**Category:** Elasticsearch\
**Created:** [April 17, 2017, 5:49pm UTC](https://discuss.elastic.co/t/issue-having-none-of-the-configured-nodes-are-available/82609 "2017-04-17T17:49:04Z")\
**Posts on this page:** 3\
**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 17, 2017, 5:49pm UTC](https://discuss.elastic.co/t/issue-having-none-of-the-configured-nodes-are-available/82609/1 "2017-04-17T17:49:04Z")

</div>

Hi Team,  
We are upgrading our application to elasticsearch-5.2.0 from 1.0.1. I upgraded it to transport-5.2.0.  
Currently we are observing the below exception while index building :

com.nielsen.gps.core.exception.CoreException: NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{cT1qigSqShOcPONuCDJ4zg}{[xxxxx.xxxx.com](http://xxxxx.xxxx.com)}{[xx.xx.xx.xxx](http://xx.xx.xx.xxx):xxxx}]]  
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)  
at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:356)

The below we wrote to build the settings and initialize TransportClient object :

if (client == null) {  
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();  
try {  
client = new PreBuiltTransportClient(settings)  
.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName(getIndexHostName()), getIndexPort()));  
} catch (Exception e) {  
System.out.println("error encountered: " + e.getMessage());  
e.printStackTrace();  
}

---

<div class="post-metadata">

**Author:** ![james.parry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james.parry/32/33959_2.png) [@james.parry](https://discuss.elastic.co/u/james.parry)\
**Post date:** [May 11, 2017, 3:07pm UTC](https://discuss.elastic.co/t/issue-having-none-of-the-configured-nodes-are-available/82609/2 "2017-05-11T15:07:50Z")

</div>

> [@mahade01](#):
>
> true

I'm having the same issue did you ever fine a fix?

---

<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:** [June 8, 2017, 3:20pm UTC](https://discuss.elastic.co/t/issue-having-none-of-the-configured-nodes-are-available/82609/3 "2017-06-08T15:20:46Z")

</div>

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