Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jakarta HttpClient

 
divya madala
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you using HTTP POST or HTTP GET?
Is there a proxy?
Are you using HttpClient 2.0 RC2 ?
 
divya madala
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?!!!
 
dennis zined
Ranch Hand
Posts: 330
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all. Came across this post as I have been having the same problem. Would anybody know a solution to this?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic