Re: Request timeout in CloudFoundry


Paul Bakare
 

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)gmail.com> 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.

Mike

On Fri, Sep 4, 2015 at 6:49 AM, James Bayer <jbayer(a)pivotal.io> 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
logs.

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

Hi,

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)gmail.com>
wrote:

Hi,

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)gmail.com> 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 cf-dev@lists.cloudfoundry.org to automatically receive all group messages.