# Rancher Managed Network Timeout 15 minutes?

**URL:** <https://forums.suse.com/t/rancher-managed-network-timeout-15-minutes/7316>\
**Category:** RancherOS\
**Created:** [September 12, 2017, 7:20pm UTC](https://forums.suse.com/t/rancher-managed-network-timeout-15-minutes/7316 "2017-09-12T19:20:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![channelape](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/channelape/32/1617_2.png) [@channelape](https://forums.suse.com/u/channelape)\
**Post date:** [September 12, 2017, 7:20pm UTC](https://forums.suse.com/t/rancher-managed-network-timeout-15-minutes/7316/1 "2017-09-12T19:20:41Z")

</div>

We’ve been running a PHP:5.6 Apache container behind a rancher HAProxy LB and recently we realized that even though HAProxy has a timeout of over 2 hours, requests passed to this container appear to timeout at 15 minutes exactly.

When hitting the container using wget from the RancherOS machine and running

`wget http://10.42.25.16/src/timeout/index.php?seconds=930`

wget will come back and say that it timed out. (The script just sleeps based on the seconds that are passed in via URL).

When running the same command but logging into the machine via docker exec -i -t xxxxxxxxxxxxx bash

`wget http://localhost/src/timeout/index.php?seconds=930`

the command runs fine.

When I run the command locally to a docker container without rancher’s managed network services, the script correctly returns after 15 minutes or more (900+ seconds). This to me proves it isn’t

- HAProxy
- Docker
- Apache

but instead RancherOS.

Is there anyway to configure what the TCP timeout is for the managed rancher network?

I’ve already tried tweaking sysctl to no avail of the rancher OS image:

[rancher@staging ~]$ sysctl -a | grep keepalive  
net.ipv4.tcp\_keepalive\_intvl = 75  
net.ipv4.tcp\_keepalive\_probes = 24  
net.ipv4.tcp\_keepalive\_time = 7200

We are using cattle for orchestration.

Thanks for any insight.
