hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Trying to get a safe multi-threaded implementation, getting I/O exception (java.net.SocketException) caught when processing request: Connection reset
Date Tue, 14 Dec 2010 13:30:01 GMT
On Tue, 2010-12-14 at 12:32 +0100, H. Brunsting wrote:
> Hi,
> 
> I'm trying to get a multi-threaded implementation of HttpClient.
> Basically i have a number of threads that call getHttpData()
> concurrently. It seems to work, but upon starting my threads I get a
> bunch of exceptions:
> 
> Dec 14, 2010 11:32:17 AM
> org.apache.http.impl.client.DefaultRequestDirector execute
> INFO: I/O exception (java.net.SocketException) caught when processing
> request: Connection reset
> Dec 14, 2010 11:32:17 AM
> org.apache.http.impl.client.DefaultRequestDirector execute
> INFO: Retrying request
> 

You are likely overloading the server with too many concurrent
connection requests.

Oleg



---------------------------------------------------------------------
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