Cant connect to ES via http


(Andreynikk) #1

Hi,

im currently testing migration to ES 2.1, i installed it on a dedicated node.
ES started succesfully:
[root@XXXbin]# curl -XGET 'http://XXX.XXX.com:9202/_cat/health'
1451922644 07:50:44 es_search_cluster_v2 yellow 1 1 3 3 0 0 3 0 - 50.0%

the yellow state is because the cluster has 1 node.

kibana is succesfully connected:
{"type":"log","@timestamp":"2016-01-04T15:39:12+00:00","tags":["warning","elasticsearch"],"pid":2899,"message":"No living connections"}
{"type":"log","@timestamp":"2016-01-04T15:39:14+00:00","tags":["status","plugin:elasticsearch","info"],"pid":2899,"name":"plugin:elasticsearch","state":"green","message":"Status changed from red to green - Kibana index ready","prevState":"red","prevMsg":"Unable to connect to Elasticsearch at http://XXX.XXX.com:9202. Retrying in 2.5 seconds."}

and a modified the yml configuration file according to:
https://www.elastic.co/guide/en/elasticsearch/reference/2.1/breaking_20_network_changes.html

i know its not a kibana related issue as i cant connect to any of the plugins i installed via http (HQ, kopf and etc).

what am i missing here?


(David Pilato) #2

9202 as a port? You are running more than one instance?

Also check network.host setting.

You can also copy your logs here.


(Andreynikk) #3

yes, there are 2 client nodes streaming data.

the problem was that that specific node i was testing on couldn't be reached remotely for some reason, connected via a browser in the DC itself and it worked so i have to check why the node is not reachable remotely.

thanks for they reply!


(system) #4