# Node Exception with Transport Client

**URL:** <https://discuss.elastic.co/t/node-exception-with-transport-client/16535>\
**Category:** Elasticsearch\
**Created:** [March 21, 2014, 9:22pm UTC](https://discuss.elastic.co/t/node-exception-with-transport-client/16535 "2014-03-21T21:22:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IronMan2014](https://avatars.discourse-cdn.com/v4/letter/i/94ad74/32.png) [@IronMan2014](https://discuss.elastic.co/u/IronMan2014)\
**Post date:** [March 21, 2014, 9:22pm UTC](https://discuss.elastic.co/t/node-exception-with-transport-client/16535/1 "2014-03-21T21:22:02Z")

</div>

I posted earlier with an issue that I spent quite a bit of time trying to  
figure out how to setup EC2 cluster, I followed documentation, but still  
couldn't get it to work, I have 2 "i.4xlarge instances"

So, I decided to sale down the problem and work with one instance:  
I installed the latest 1.0.0 on EC2 instance and "aws plugin 2.0", the  
instance works fine from http API but not from my Java/API transport client.

Note, the transport client works fine against my local ES server (0.90.9),  
so nothing wrong with the Java client.

//Settings

Settings settings = ImmutableSettings.settingsBuilder()

.put("client.transport.sniff", true)

.put("refresh\_interval", "-1") //Needs to be updated after indexing is  
done

.put("number\_of\_shards", 1)

.put("number\_of\_replicas", "0")

.put("index.merge.policy.merge\_factor", 30)

.put("client.transport.ping\_timeout", "10s") //Node conn timeout

But when I use My JavaAPI/Transport Client against Version 1.0.0 on the  
instance, I get this error:

WARN - Log4jESLogger.internalWarn(124) | [The Stepford Cuckoos] Message not  
fully read (response) for [0] handler  
future(org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler$1@2d35da43),  
error [true], resettingException in thread "main"  
org.elasticsearch.client.transport.NoNodeAvailableException: No node  
available

--  
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/d0ecf9ca-619d-4127-b534-01147d829a79%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d0ecf9ca-619d-4127-b534-01147d829a79%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:** [March 22, 2014, 3:54am UTC](https://discuss.elastic.co/t/node-exception-with-transport-client/16535/2 "2014-03-22T03:54:28Z")

</div>

You need to update the client to es 1.0.0

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 21 mars 2014 à 22:22, IronMan2014 [sabdalla80@hotmail.com](mailto:sabdalla80@hotmail.com) a écrit :

I posted earlier with an issue that I spent quite a bit of time trying to figure out how to setup EC2 cluster, I followed documentation, but still couldn't get it to work, I have 2 "i.4xlarge instances"

So, I decided to sale down the problem and work with one instance:  
I installed the latest 1.0.0 on EC2 instance and "aws plugin 2.0", the instance works fine from http API but not from my Java/API transport client.

Note, the transport client works fine against my local ES server (0.90.9), so nothing wrong with the Java client.

//Settings  
Settings settings = ImmutableSettings.settingsBuilder()

.put("client.transport.sniff", true)

.put("refresh\_interval", "-1") //Needs to be updated after indexing is done

.put("number\_of\_shards", 1)

.put("number\_of\_replicas", "0")

.put("index.merge.policy.merge\_factor", 30)

.put("client.transport.ping\_timeout", "10s") //Node conn timeout

But when I use My JavaAPI/Transport Client against Version 1.0.0 on the instance, I get this error:

WARN - Log4jESLogger.internalWarn(124) | [The Stepford Cuckoos] Message not fully read (response) for [0] handler future(org.elasticsearch.client.transport.TransportClientNodesService$SimpleNodeSampler$1@2d35da43), error [true], resettingException in thread "main" org.elasticsearch.client.transport.NoNodeAvailableException: No node available

--  
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/d0ecf9ca-619d-4127-b534-01147d829a79%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d0ecf9ca-619d-4127-b534-01147d829a79%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/AFCE8F63-2647-4D02-B317-C698BCA49692%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/AFCE8F63-2647-4D02-B317-C698BCA49692%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:41am UTC](https://discuss.elastic.co/t/node-exception-with-transport-client/16535/3 "2017-07-06T01:41:26Z")

</div>


