You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Litty Preeth <pr...@gmail.com> on 2011/11/10 04:32:04 UTC

Re: ConnectTimeoutException after 5 to 6 hrs

Hi,

I think EntityUtils.consume(entity); has did the trick. Now the client has
been running for past 2 days and the connection timeout is not happening.

Thanks,
Litty Preeth

On Wed, Oct 26, 2011 at 1:07 AM, Vasile Alin <al...@gmail.com>wrote:

> >> Someone suggested that I these issue comes if the response is not fully
> >> emptied. Also if I enable the wire and header debug for httpclient, I am
> >> not
> >> getting this issue. So may be the root cause is because the response is
> not
> >> fully drained.
> >>
>
> Could be possible. When the issue appears, did you checked how many
> sockets do you have on you machine (using netstat) for that particular
> destination and their state?
>
> Alin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>