Re: Request timeout in CloudFoundry

Mike Youngstrom <youngm@...>

Sorry, after looking at our manifests it appears we actually set it to 0
not -1.

request_timeout_in_seconds: 0

Then you need to set CC timeout to something else since nginx doesn't like
- name: cloud_controller
request_timeout_in_seconds: 900
- name: cloud_controller_ng
release: cf


On Fri, Oct 30, 2015 at 7:24 AM, Kayode Odeyemi <dreyemi(a)> wrote:

Hi Mike,

Could you let me know how you set timeout on gorouter to -1?

Appreciate your response.

On Fri, Sep 4, 2015 at 5:27 PM, Mike Youngstrom <youngm(a)> wrote:

I have disabled the timeout on the gorouter "-1" trusting our Front end
load balancer to manage the timeout. That way I only need to worry about
configuring timeout on one device in my proxy chain. That may simplify
your problem. Is there any theoretical issues with that approach? It
seems to have worked well for us.


On Fri, Sep 4, 2015 at 6:49 AM, James Bayer <jbayer(a)> wrote:

i would trace through the various system component logs to see where the
timeout is starting with each component that the client connects to and
seeing if that request came through. by submitting a silly uniquely
identifiable hostname you can usually find something quickly by grepping

On Thu, Sep 3, 2015 at 6:47 AM, Kayode Odeyemi <dreyemi(a)>


I'm experiencing this same issue.

I have a NodeJS app, using the nodejs buildpack. A request taking
approximately 80 secs long gets timed out (502 response). We're using the
default CF ELBs (gorouter and ha_proxy).

On Tue, Aug 25, 2015 at 10:57 PM, CF Runtime <cfruntime(a)>


We think this message was dropped and so we are posting it again.

How long of a timeout are you seeing? The gorouter and ha_proxy have
a default timeout of 15 minutes. If you are using an ELB or some
other load balancer they may have their own timeout set. I'm not sure
if any of the app servers installed by buildpacks have a build in
timeout or not, what type of app is it?

Joseph and Dan
OSS Release Integration Team

On Mon, Aug 17, 2015 at 2:18 PM, Flávio Henrique Schuindt da Silva <
flavio.schuindt(a)> wrote:

Hi guys,

How can I increase the request timeout in CF? I would like to give
more time to my app to send a response to the requests before getting a
timeout. Should I increase it in the buildpack? If yes, where should I
change it on java buildpack?

Thanks in advance!

Thank you,

James Bayer

Join to automatically receive all group messages.