# Question about Connection Failed with ELK

**URL:** <https://discuss.elastic.co/t/question-about-connection-failed-with-elk/21524>\
**Category:** Elasticsearch\
**Created:** [January 7, 2015, 3:25pm UTC](https://discuss.elastic.co/t/question-about-connection-failed-with-elk/21524 "2015-01-07T15:25:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@Robin](https://discuss.elastic.co/u/Robin)\
**Post date:** [January 7, 2015, 3:25pm UTC](https://discuss.elastic.co/t/question-about-connection-failed-with-elk/21524/1 "2015-01-07T15:25:47Z")

</div>

Hi,

I have a question. currently I am using ELK for my website log. everything  
looks ok. however when I run the Kinba page from my chrome browser

about every 10 minutes or if I set auto refresh(any minutes) about 2 times  
auto fresh. I will get following message

_Connection Failed_

_Possibility #1: Your elasticsearch server is down or unreachable_

This can be caused by a network outage, or a failure of the Elasticsearch  
process. If you have recently run a query that required a terms facet to be  
executed it is possible the process has run out of memory and stopped. Be  
sure to check your Elasticsearch logs for any sign of memory pressure.

_Possibility #2: You are running Elasticsearch 1.4 or higher_

Elasticsearch 1.4 ships with a security setting that prevents Kibana from  
connecting. You will need to set the following in your elasticsearch.yml:

1. http.cors.enabled: true
2. http.cors.allow-origin to the correct protocol, hostname, and port  
(if not 80) that your access Kibana from. Note that if you are running  
Kibana in a sub-url, you should exclude the sub-url path and only include  
the protocol, hostname and port. For example, [http://mycompany.com:8080](http://mycompany.com:8080),  
not [http://mycompany.com:8080/kibana](http://mycompany.com:8080/kibana).

_Click back, or the home button, when you have resolved the connection  
issue_

however I am sure connection is ok and if I just link to kinba page again  
everything looks ok again.  
Is any one experience this before?

Thanks in advance.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/995e4d75-359f-42ec-94e7-fc2a842d171b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/995e4d75-359f-42ec-94e7-fc2a842d171b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:40am UTC](https://discuss.elastic.co/t/question-about-connection-failed-with-elk/21524/2 "2017-07-06T00:40:17Z")

</div>


