I'm trying to connect to the site using httpclient of Jakarta, but for every 10 minutes my program stops throwing the exception. Just wondering what I need to do avoid this.... Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception java.net.SocketException: Connection reset Please suggest, Thanks, Divya
Have you tried following the troubleshooting procedures described here? Maybe the wire trace will give you a better idea what is happening. Are you going through a proxy server? There's a couple of posts in the archive referring to resets invoving proxies. Are you using the most recent version? Have you tried different versions? [ December 22, 2003: Message edited by: Barry Gaunt ]
are you using HTTP POST or HTTP GET? Is there a proxy? Are you using HttpClient 2.0 RC2 ?
Joined: Jan 10, 2001
To answer your questions: I'm not using proxy using HTTP GET using HttpClient 2.0 RC2 Was just thinking timeout option might help........... It could be happening that my program is processing the information( I'm doing a lot of parsing and make a get request again) and in the mean time it looses the connection to the server. I'm going to try that and see.... Any suggestions?!!!