# "socket hang up"

**URL:** <https://discuss.elastic.co/t/socket-hang-up/87763>\
**Category:** Kibana\
**Created:** [May 31, 2017, 2:30pm UTC](https://discuss.elastic.co/t/socket-hang-up/87763 "2017-05-31T14:30:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![hailaeos.troy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hailaeos.troy/32/12817_2.png) [@hailaeos.troy](https://discuss.elastic.co/u/hailaeos.troy)\
**Post date:** [June 2, 2017, 2:14pm UTC](https://discuss.elastic.co/t/socket-hang-up/87763/5 "2017-06-02T14:14:59Z")

</div>

Ok I found the fix for this and its a bit odd but who cares.  
I Put the following lines into my elasticsearch.yml file:  
\> **http.cors.enabled: true**  
\> **http.cors.allow-origin: "\*"**  
\> **http.max\_header\_size: 16kb**

---

_[View the full topic](https://discuss.elastic.co/t/socket-hang-up/87763)._
