hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Retrying a HTTP call..
Date Mon, 30 May 2011 18:32:57 GMT
On 30 May 2011 06:10, Manikandan R <manirajv06@gmail.com> wrote:
> Hi Everyone,
>
> I've started using apache commons httpclient library (version no. 3.1) to

Note that HC 3.1 is end of life, and is not being developed further.

Please consider moving to HttpClient 4.1 instead.

> make the http calls recently. In production environment, seeing the
> following exceptions in logs:
>
> 1. Broken Pipe
> 2. Connection Reset
> 3. Connection Timeout
> 4. Read Time out
> etc
>
> Whenever these exceptions, we get the complaints from customers not
> completing the tasks. So, we repeat the work manually. To avoid doing it
> manually, program should take care of the retries without causing any
> duplicates. I am not sure when to do the retry. Basically, for what type of
> exceptions, Should I do retry so that it won't end up in duplicates?
>
> Please suggest.
>
> Thanks,
> Mani
>

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


Mime
View raw message