None of the configured nodes were available

(Mahendra Shinde) #1


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")

(David Pilato) #2

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.

(Mahendra Shinde) #3

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.

(David Pilato) #4

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

(system) #5

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