None of the configured nodes were available


I am getting frequent error for "None of the configured nodes were available" with transport client. My ES cluster is v6.4 and Transport client is generate as code below.
This error of not node available is observed with new elastic cloud only. I reported to cloud team. And cloud team still investigating (even after 10days).

Any help ?
val addresses = { host => new TransportAddress(InetAddress.getByName(host), port) }
val client = new PreBuiltXPackTransportClient(settings)
.addTransportAddresses(addresses: _*)
info(s"ElasticClient config => Nodes = ${nodes.toList} , port = $port clusterName $clusterName")

I don't know what will be the answer from the cloud support but anyway use the REST Client instead. The transport client is going to be removed at some point.

Thank you David,

Actually, we have many aggregations defined over transport client. It will be very big implementation task if we plan to migrate over rest.

What does prevent you to use the REST Client? It is able to define aggs as well...

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