Hi Baptiste,

Well in keep-alive mode I'd expect the connection to not be closed but
idle. I'm using HAProxy behind an ELB with keep-alive mode enabled, but
when using 'errorfile' I'm getting 504 Gateway Timeout.

The ELB manual:

"Solution: Enable keep-alive settings on your EC2 instances and set the
keep-alive timeout to greater than or equal to the idle timeout settings of
your load balancer. For more information, see Idle Connection Timeout."
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/ts-elb-error-message.html#ts-elb-errorcodes-http503

Thanks for helping!

Mathias


On Mon, Nov 17, 2014 at 11:34 PM, Baptiste <[email protected]> wrote:

> On Mon, Nov 17, 2014 at 11:23 PM, Mathias Bogaert
> <[email protected]> wrote:
> > Hi,
> >
> > Is it possible that HAProxy (1.5.8) closes a keep-alive connecting using
> > 'http-request deny' in combination with 'errorfile'?
> >
> > Thanks,
> >
> > Mathias
>
>
> Hi Mathias,
>
> I would say this is the expected behavior.
> Have you observed something else?
>
> Baptiste
>

Reply via email to