# HTTP Server Keep Alive not working?

**URL:** <https://forums.suse.com/t/http-server-keep-alive-not-working/433>\
**Category:** Rancher 1.x\
**Created:** [September 10, 2015, 7:35pm UTC](https://forums.suse.com/t/http-server-keep-alive-not-working/433 "2015-09-10T19:35:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lovecannon](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/lovecannon/32/208_2.png) [@Lovecannon](https://forums.suse.com/u/Lovecannon)\
**Post date:** [September 10, 2015, 7:35pm UTC](https://forums.suse.com/t/http-server-keep-alive-not-working/433/1 "2015-09-10T19:35:04Z")

</div>

Hello, does anyone know why HTTP keep-alive connections don’t seem to work with Rancher? Is this a Docker issue or a Rancher issue? No matter what docker image I use keep-alives won’t work.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [September 18, 2015, 2:54pm UTC](https://forums.suse.com/t/http-server-keep-alive-not-working/433/2 "2015-09-18T14:54:21Z")

</div>

Through a load balancer service, or directly to a service/container?

---

<div class="post-metadata">

**Author:** ![Lovecannon](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/lovecannon/32/208_2.png) [@Lovecannon](https://forums.suse.com/u/Lovecannon)\
**Post date:** [September 18, 2015, 2:55pm UTC](https://forums.suse.com/t/http-server-keep-alive-not-working/433/3 "2015-09-18T14:55:58Z")

</div>

Its being routed through the load balancer

---

<div class="post-metadata">

**Author:** ![alena](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/alena/32/50_2.png) [@alena](https://forums.suse.com/u/alena)\
**Post date:** [September 25, 2015, 8:12pm UTC](https://forums.suse.com/t/http-server-keep-alive-not-working/433/4 "2015-09-25T20:12:32Z")

</div>

@Lovecannon Ranhcer default haproxy config has “httpclose” mode set. @vincent do you think we should make it keepalive by default if the majority of the use cases would require this value? Before custom haproxy config default settings feature is implemented ([https://github.com/rancher/rancher/issues/1871](https://github.com/rancher/rancher/issues/1871))

---

<div class="post-metadata">

**Author:** ![alena](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/alena/32/50_2.png) [@alena](https://forums.suse.com/u/alena)\
**Post date:** [September 30, 2015, 4:43pm UTC](https://forums.suse.com/t/http-server-keep-alive-not-working/433/5 "2015-09-30T16:43:22Z")

</div>

@Lovecannon keep-alive by default behavior is going to be enabled in the next Rancher release. Here is the PR ref:

> <https://github.com/rancher/cattle/pull/903>
