# Kibana and Websockets

**URL:** <https://discuss.elastic.co/t/kibana-and-websockets/81801>\
**Category:** Kibana\
**Created:** [April 10, 2017, 10:35am UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801 "2017-04-10T10:35:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepansh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepansh/32/47838_2.png) [@deepansh](https://discuss.elastic.co/u/deepansh)\
**Post date:** [April 10, 2017, 10:35am UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801/1 "2017-04-10T10:35:50Z")

</div>

Hi,

Does kibana uses websockets?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 10, 2017, 2:56pm UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801/2 "2017-04-10T14:56:52Z")

</div>

Hello,

Kibana doesn't use websockets.

---

<div class="post-metadata">

**Author:** ![deepansh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepansh/32/47838_2.png) [@deepansh](https://discuss.elastic.co/u/deepansh)\
**Post date:** [April 10, 2017, 3:17pm UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801/3 "2017-04-10T15:17:27Z")

</div>

And why in nginx proxies we need to set connection header as upgrade?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 10, 2017, 4:36pm UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801/4 "2017-04-10T16:36:10Z")

</div>

I assume for switching HTTP requests to TLS. But I'm 100% sure we don't use websockets.

---

<div class="post-metadata">

**Author:** ![deepansh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepansh/32/47838_2.png) [@deepansh](https://discuss.elastic.co/u/deepansh)\
**Post date:** [April 11, 2017, 3:30am UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801/5 "2017-04-11T03:30:15Z")

</div>

Actually I m not using HTTPS or TLS. I want to secure my cluster using  
nginx basic authentication. It worked for around 4 to 5 days but suddenly  
it stopped working. On Restart on Nginx, it started working again.

I believe its due to HTTP Connection Header? Can you suggest what kind of  
connection kibana expects? Close or Keep Alive or Upgrade.

Thanks and Regards  
Deepansh Garg

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 11, 2017, 9:15am UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801/6 "2017-04-11T09:15:12Z")

</div>

Kibana should work just fine with basic reverse proxy. Maybe this blog post on nginx in front of ES helps you. It should be just the same for Kibana:

> **[Playing HTTP Tricks with Nginx
	  	 | Elastic](https://www.elastic.co/blog/playing-http-tricks-nginx)**
>
> Update November 2, 2015: If you're interested in advanced access control configuration or other security features, consider taking Shield, security for Elasticsearch, for a spin. One of the defining f...

---

<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:** [May 9, 2017, 9:20am UTC](https://discuss.elastic.co/t/kibana-and-websockets/81801/7 "2017-05-09T09:20:43Z")

</div>

Closed on May 9, 2017, 9:20am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
