The call to httpclient.execute() is just stuck until the eventual socket timeout is reached.
-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
