Kibana returns "Connection Failed" Kibana returns "Connection Failed" elasticsearch elasticsearch

Kibana returns "Connection Failed"


I have faced similar kind of issue.

If you are using elasticsearch-1.4 with Kibana-3 then add following parameters in elasticsearch.yml file

http.cors.allow-origin: "/.*/"http.cors.enabled: true

Reference,https://gist.github.com/rmoff/379e6ce46eb128110f38


In my case the problem was caused by the HTTP_PROXY environment variable being set and the proxy being down.

It's not the most obvious cause, and there is no obvious way from the error message that you would think to look at that.

Unsetting HTTP_PROXY and restarting Kibana did the trick.