# Kibana with HAProxy, problem to see the web

**URL:** <https://discuss.elastic.co/t/kibana-with-haproxy-problem-to-see-the-web/41765>\
**Category:** Kibana\
**Created:** [February 15, 2016, 10:54am UTC](https://discuss.elastic.co/t/kibana-with-haproxy-problem-to-see-the-web/41765 "2016-02-15T10:54:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillermo\_Ortiz](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@Guillermo\_Ortiz](https://discuss.elastic.co/u/Guillermo_Ortiz)\
**Post date:** [February 15, 2016, 10:54am UTC](https://discuss.elastic.co/t/kibana-with-haproxy-problem-to-see-the-web/41765/1 "2016-02-15T10:54:25Z")

</div>

I have installed Kibana an HAProxy to have two Kibanas with the same ES and have HA.  
I can access both Kibanas though its URL correctly but when I access though the HAProxy URL I can see the web but it doesn't work correctly. It just appear the header of Kibana and when I click Settings, Dashboards and so on nothing happen.

---

<div class="post-metadata">

**Author:** ![yodog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yodog/32/4822_2.png) [@yodog](https://discuss.elastic.co/u/yodog)\
**Post date:** [February 15, 2016, 4:57pm UTC](https://discuss.elastic.co/t/kibana-with-haproxy-problem-to-see-the-web/41765/2 "2016-02-15T16:57:18Z")

</div>

so...  
are you going to post the log messages or are we supposed to guess? 🙂

---

<div class="post-metadata">

**Author:** ![Guillermo\_Ortiz](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@Guillermo\_Ortiz](https://discuss.elastic.co/u/Guillermo_Ortiz)\
**Post date:** [February 15, 2016, 5:12pm UTC](https://discuss.elastic.co/t/kibana-with-haproxy-problem-to-see-the-web/41765/3 "2016-02-15T17:12:17Z")

</div>

I didn't have many logs. I think that it's because HAProxy tries to balance between two Kibanas and it loses the session or mixes up the sessions between both...

I changed the config file of HAProxy to "balance first" and it seems to work. Now, it's more an HA Kibana instance of balance the traffic between them.

HAProxy logs  
0000000c:http\_web.clihdr[0008:000d]: Referer: [http://xxx/app/kibana](http://xxx/app/kibana)  
0000000c:http\_web.clihdr[0008:000d]: Accept-Encoding: gzip, deflate  
0000000c:http\_web.clihdr[0008:000d]: Accept-Language: en-US,en;q=0.8,es;q=0.6  
0000000c:http\_web.srvrep 403 Forbidden  
0000000c:http\_web.srvhdr[0008:000d]: x-app-name: kibana  
0000000c:http\_web.srvhdr[0008:000d]: x-app-version: 4.3.0  
0000000c:http\_web.srvhdr[0008:000d]: content-type: application/json; charset=utf-8

Explorer logs  
Failed to load resource: the [http://xxx/elasticsearch/.kibana/index-pattern/\_search?fields=](http://xxx/elasticsearch/.kibana/index-pattern/_search?fields=) Failed to load resource: the server responded with a status of 403 (Forbidden)

Trying to get the Kibana logs...

---

<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, 2:02pm UTC](https://discuss.elastic.co/t/kibana-with-haproxy-problem-to-see-the-web/41765/4 "2017-07-06T14:02:12Z")

</div>


