I have a 3 nodes cluster (version 7.1) in the following nodes:
xxx.xxx.xx.122
xxx.xxx.xx.123
xxx.xxx.xx.124
And kibana is in xxx.xxx.xx.123. The setting in the kibana.yml for elasticsearch.hosts is:
elasticsearch.hosts : ["https://xxx.xxx.xx.123:9200", "https://xxx.xxx.xx.122:9200", "https://xxx.xxx.xx.124:9200"].
I can run kibana and see cluster health. But when I stop the elasticsearch in xxx.xxx.xx.123 node, I expect kibana to point to other elasticsearch nodes but this is not the case and I get:
{
"message": "Client request error: connect ECONNREFUSED xxx.xxx.xx.123:9200",
"statusCode": 502,
"error": "Bad Gateway"
}
Could someone please tell me why I can't connect. The ES documents say elasticsearch.hosts is an array of the elasticsearch hosts.