Transport Client Error both on 5.3.2 and 5.4.0

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}{}{}]]
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(
at org.elasticsearch.client.transport.TransportClientNodesService.execute(
at org.elasticsearch.client.transport.TransportProxyClient.execute(
at org.elasticsearch.client.transport.TransportClient.doExecute(
at org.elasticsearch.action.ActionRequestBuilder.execute(
at org.elasticsearch.action.ActionRequestBuilder.execute(

This probably relates to your other thread.

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

Are you still restarting things randomly?

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

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

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


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