On Fri, 2019-03-29 at 06:34 -0700, Mark Cafaro wrote:
> The call to httpclient.execute() is just stuck until the eventual
> socket timeout is reached.
> 
> 

What makes you think this is a client side issue? Have you tried
running your application with HttpClient wire logging turned out and
analyzing data packets sent on the wire? 

Oleg


> 
> -Mark
> 
> 
> 
> P.S. Sorry if this created a new thread. I did not subscribe in time
> to get the first reply.
> 
> 
> > What exactly do you mean by "never receives a response"? What
> > happens
> > instead?
> > 
> > Oleg
> > 
> > > Hi,
> > > 
> > > I am running long HTTP post requests on Travis CI (Ubuntu 14.04)
> > > using the Apache HTTP Client. Strangely if a request exceeds
> > > about 8
> > > minutes, the client never receives a response. I can see on the
> > > server side, however, that a response was sent back. I have the
> > > socket timeout set way beyond 8 minutes.
> > > 
> > > If I perform the exact same request, on the exact same machine,
> > > using
> > > cURL however, it works as expected (i.e. cURL receives a
> > > response).
> > > Also, if I perform the exact same request using the Apache HTTP
> > > Client on my local machine, it works as expected.
> > > 
> > > I've tried playing around with sysctl
> > > net.ipv4.tcp_keepalive_time, tcp_keepalive_intvl,
> > > and tcp_keepalive_probes but they haven't solved the issue.
> > > 
> > > Are there any settings in the Apache HTTP Client that may be
> > > relevant
> > > to this issue?
> > > 
> > > Thanks,
> > > 
> > > Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to