# Transport Client Error both on 5.3.2 and 5.4.0

**URL:** <https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378>\
**Category:** Elasticsearch\
**Created:** [May 28, 2017, 10:12pm UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378 "2017-05-28T22:12:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [May 28, 2017, 10:12pm UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378/1 "2017-05-28T22:12:50Z")

</div>

I keep getting below error both on 5.3.2 and 5.4.0 when using Java Transport Client.  
occasionally i get valid response, trying 3 node cluster in a single machine.

NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{PCD5ssO9QrKeqLea1XFsaw}{127.0.0.1}{127.0.0.1:9300}]]  
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:348)  
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:246)  
at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:59)  
at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:366)  
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:408)  
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80)  
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54)

---

<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:** [May 28, 2017, 10:20pm UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378/2 "2017-05-28T22:20:30Z")

</div>

This probably relates to your other thread.

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [May 28, 2017, 10:49pm UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378/3 "2017-05-28T22:49:09Z")

</div>

I tried all the ports, 9300,9301,9302, still the same, very intermittent.

---

<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:** [May 28, 2017, 11:27pm UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378/4 "2017-05-28T23:27:49Z")

</div>

Are you still restarting things randomly?

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [May 29, 2017, 1:06am UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378/5 "2017-05-29T01:06:38Z")

</div>

No I am not restarting now, all 3 nodes are up and running and still see this error. in both 5.3.2 and 5.4.0

---

<div class="post-metadata">

**Author:** ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)\
**Post date:** [May 29, 2017, 1:21am UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378/6 "2017-05-29T01:21:04Z")

</div>

Found the Issue, the issue is with version of the Transport Client library, i was using 5.0.0 Transport java driver for 5.4.0 ES , however when i changed it to 5.3.2 as mentioned here [Option "client.transport.sniff" not working with v5.4.0 Transport Client](https://discuss.elastic.co/t/option-client-transport-sniff-not-working-with-v5-4-0-transport-client/85899)

Everything works fine , don't see the issue anymore.

Thanks  
Sam

---

<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 26, 2017, 1:21am UTC](https://discuss.elastic.co/t/transport-client-error-both-on-5-3-2-and-5-4-0/87378/7 "2017-06-26T01:21:15Z")

</div>

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