Understanding sniff with load balancer


(Utkarsh Pyne) #1

While connecting to the ES cluster via sniff off I get a "org.elasticsearch.client.transport: [Fang] failed to get node info for [#transport#-1][xxxxxxx][inet[xxxyyyyy/a.b.c.d:9300]], disconnecting... { org.elasticsearch.transport.ReceiveTimeoutTransportException: "

Whereas when I try connecting with sniff on, I'm able to connect to the cluster. Why is the connection not timing out in this case?

We have a load-balancer which we connect to via the transport client and which then forwards the requests to client nodes. Since we want transport client to talk to client nodes only and not to data nodes we want to disable sniff in our cluster. Should we not connect to the cluster with sniff disbaled if we are using a load balancer?


(system) #2

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