# None of the configured nodes are available

**URL:** <https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available/20222>\
**Category:** Elasticsearch\
**Created:** [October 13, 2014, 5:40pm UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available/20222 "2014-10-13T17:40:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_de\_Lucca](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@David\_de\_Lucca](https://discuss.elastic.co/u/David_de_Lucca)\
**Post date:** [October 13, 2014, 5:40pm UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available/20222/1 "2014-10-13T17:40:18Z")

</div>

Hello folks!

i'm trying to perform a search using Java ElasticSearch API but i'm getting  
this error:

org.elasticsearch.client.transport.NoNodeAvailableException: None of the  
configured nodes are available: []  
at  
org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:298)  
~[elasticsearch-1.3.0.jar:na]  
at  
org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:214)  
~[elasticsearch-1.3.0.jar:na]  
at  
org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:105)  
~[elasticsearch-1.3.0.jar:na]  
at  
org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:330)  
~[elasticsearch-1.3.0.jar:na]  
at  
org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:421)  
~[elasticsearch-1.3.0.jar:na]  
at  
org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:1097)  
~[elasticsearch-1.3.0.jar:na]  
at  
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)  
~[elasticsearch-1.3.0.jar:na]  
at  
org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65)  
~[elasticsearch-1.3.0.jar:na]

Anyone have an idea on what's is wrong? Here is how i create Client:

_private lazy val client = new TransportClient().addTransportAddress(new  
InetSocketTransportAddress("127.0.0.1", 9300))_

And here is the point that exception happens:

_var response = client.prepareSearch().execute().actionGet();_

Thank in advance.

David

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c6822524-7dac-4753-902c-a0284961ace3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c6822524-7dac-4753-902c-a0284961ace3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 13, 2014, 6:27pm UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available/20222/2 "2014-10-13T18:27:38Z")

</div>

Did you change the cluster name?

> Le 13 oct. 2014 à 19:40, David de Lucca [davidpadilha@gmail.com](mailto:davidpadilha@gmail.com) a écrit :
> 
> Hello folks!
> 
> i'm trying to perform a search using Java Elasticsearch API but i'm getting this error:
> 
> org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available:   
> at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:298) ~[elasticsearch-1.3.0.jar:na]  
> at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:214) ~[elasticsearch-1.3.0.jar:na]  
> at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:105) ~[elasticsearch-1.3.0.jar:na]  
> at org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:330) ~[elasticsearch-1.3.0.jar:na]  
> at org.elasticsearch.client.transport.TransportClient.search(TransportClient.java:421) ~[elasticsearch-1.3.0.jar:na]  
> at org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:1097) ~[elasticsearch-1.3.0.jar:na]  
> at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91) ~[elasticsearch-1.3.0.jar:na]  
> at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65) ~[elasticsearch-1.3.0.jar:na]
> 
> Anyone have an idea on what's is wrong? Here is how i create Client:
> 
> private lazy val client = new TransportClient().addTransportAddress(new InetSocketTransportAddress("127.0.0.1", 9300))
> 
> And here is the point that exception happens:
> 
> var response = client.prepareSearch().execute().actionGet();
> 
> Thank in advance.
> 
> ## David
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c6822524-7dac-4753-902c-a0284961ace3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c6822524-7dac-4753-902c-a0284961ace3%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/135572E7-4096-4515-8AFA-3276EA674004%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/135572E7-4096-4515-8AFA-3276EA674004%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![AkshataNaik](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@AkshataNaik](https://discuss.elastic.co/u/AkshataNaik)\
**Post date:** [July 14, 2015, 6:50pm UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available/20222/3 "2015-07-14T18:50:07Z")

</div>

Hi I am facing the same issue. yes, i changed the cluster name. What should I do to resolve this 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, 12:01am UTC](https://discuss.elastic.co/t/none-of-the-configured-nodes-are-available/20222/4 "2017-07-06T00:01:30Z")

</div>


