Hi Lukas,

I did try increasing "timeout http-keep-alive", without any effect.

I'm attaching a tcpdump from the client side. For this capture I had the
client timeout at 10 seconds rather than 5, but the effect is the same.
You can also see that, even though the client timeout triggered, the server
was allowed to send a final response before the connection closed.

For your information, 10.9.35.100 is the client, 10.9.35.32 is haproxy and
10.9.35.34 is the backend.

I'm also attaching a tcpdump of both frontend and backend traffic, this
time with a client timeout of 5 seconds.

Regards,
François

2016-03-04 12:37 GMT-05:00 Lukas Tribus <[email protected]>:

> Hi Francois,
>
>
> > Hi,
> >
> > I'm having an issue with the client timeout expiring unexpectedly.
> >
> > I am using haproxy v1.5.14 with the http-keep-alive option.
> >
> > In my use case, I have a client maintaining a long-lived connection
> > through haproxy to a backend server. The backend server sends back a
> > response 30 seconds after receiving a request, so I set the server
> > timeout at 60 seconds to be safe. I'm keeping the client timeout at 5
> > seconds.
> >
> > What I'm observing is the following:
> > The client establishes a connection and sends a request.
> > 30 seconds later, the server responds.
> > Right after receiving the response, the client sends a new request
> > through the same connection.
> > 5 seconds later, the client timeout expires. In the logs, I see cD-- as
> > the error code.
> >
> > When I increase the client timeout to above 30 seconds, then the client
> > timeout no longer expires.
>
> Did you configure "timeout http-keep-alive"? What if you set that
> to 30 seconds and leave the client timeout at 5 seconds?
>
> Do you have a tcpdump capture of the frontend traffic?
>
>
> Regards,
>
> Lukas
>
>

-- 


This email is intended solely for the person or entity to which it is 
addressed and may contain confidential and/or privileged information. If 
you are not the intended recipient and have received this email in error, 
please notify BroadSoft, Inc. immediately by replying to this message, and 
destroy all copies of this message, along with any attachment, prior to 
reading, distributing or copying it.

Attachment: client-timeout-frontend.pcap
Description: Binary data

Attachment: client-timeout-combined.pcap
Description: Binary data

Reply via email to