# Timeout in rancher-compose up

**URL:** <https://forums.suse.com/t/timeout-in-rancher-compose-up/7165>\
**Category:** Rancher 1.x\
**Created:** [August 22, 2017, 2:22pm UTC](https://forums.suse.com/t/timeout-in-rancher-compose-up/7165 "2017-08-22T14:22:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidanoldershaw](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@aidanoldershaw](https://forums.suse.com/u/aidanoldershaw)\
**Post date:** [August 22, 2017, 2:22pm UTC](https://forums.suse.com/t/timeout-in-rancher-compose-up/7165/1 "2017-08-22T14:22:32Z")

</div>

Occasionally when I run `rancher-compose up` on my stack, I will get a timeout error when running a stack with slow-starting services.

```auto
time="2017-08-22T14:15:50Z" level=error msg="Failed to start: my-service : Get http://rancher-server:8080/v2-beta/services/1s301: net/http: request canceled (Client.Timeout exceeded while awaiting headers)" 
time="2017-08-22T14:15:50Z" level=fatal msg="net/http: request canceled (Client.Timeout exceeded while reading body)" 

```

However, the startup was successful. Is there a way to increase this timeout?

---

<div class="post-metadata">

**Author:** ![Jeroen](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Jeroen](https://forums.suse.com/u/Jeroen)\
**Post date:** [September 29, 2017, 1:46pm UTC](https://forums.suse.com/t/timeout-in-rancher-compose-up/7165/2 "2017-09-29T13:46:38Z")

</div>

I have the exact same problem. This only started recently and now happens almost every time the rancher-compose up is used to deploy services on one particular stack.

Being able to configure the timeout would help a lot. Anyway to do that?  
Thanks

---

<div class="post-metadata">

**Author:** ![Listener\_me](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/listener_me/32/5836_2.png) [@Listener\_me](https://forums.suse.com/u/Listener_me)\
**Post date:** [October 5, 2017, 1:01pm UTC](https://forums.suse.com/t/timeout-in-rancher-compose-up/7165/3 "2017-10-05T13:01:35Z")

</div>

I also have the same issue with rancher 1.6.5. Seems to be happens with compose.yml with many services.

Are you guys also have haproxy infront of ur rancher server?

---

<div class="post-metadata">

**Author:** ![Jeroen](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Jeroen](https://forums.suse.com/u/Jeroen)\
**Post date:** [October 5, 2017, 1:18pm UTC](https://forums.suse.com/t/timeout-in-rancher-compose-up/7165/4 "2017-10-05T13:18:24Z")

</div>

No haproxy. But our compose file does consist of 6 services.

---

<div class="post-metadata">

**Author:** ![cjellick](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/cjellick/32/2876_2.png) [@cjellick](https://forums.suse.com/u/cjellick)\
**Post date:** [October 6, 2017, 4:56pm UTC](https://forums.suse.com/t/timeout-in-rancher-compose-up/7165/5 "2017-10-06T16:56:14Z")

</div>

If you’re using the `rancher-compose` cli, please consider moving the the `rancher` cli. It is replacing rancher-compose and supports all the same functionality. More importantly, its where we focus most of our development efforts. @Listener_me @Jeroenare you all using `rancher-compose` or `rancher`?

---

<div class="post-metadata">

**Author:** ![Listener\_me](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/listener_me/32/5836_2.png) [@Listener\_me](https://forums.suse.com/u/Listener_me)\
**Post date:** [October 11, 2017, 12:03pm UTC](https://forums.suse.com/t/timeout-in-rancher-compose-up/7165/6 "2017-10-11T12:03:00Z")

</div>

@cjellick, I am using rancher GUI to deploy the catalog, not using APIs
