YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Timeouts When POST:ing back from IPN Options
rfroberg
#1 Posted : Saturday, August 30, 2003 12:02:20 PM
Rank: Starting Member

Groups: Registered

Joined: 8/30/2003
Posts: 8
Location: ,
Hi. At rare occasions, we get NoRouteToHostException: Connection timed out from our IPN servlet. The problem stucks for some hours, then disappears all of a sudden and everything is back to normal. Stack trace: -- java.net.NoRouteToHostException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:132) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:119) at java.net.Socket.<init>(Socket.java:269) at java.net.Socket.<init>(Socket.java:98) at sun.net.NetworkClient.doConnect(NetworkClient.java:54) at sun.net.www.http.HttpClient.openServer(HttpClient.java:320) at sun.net.www.http.HttpClient.openServer(HttpClient.java:431) at sun.net.www.http.HttpClient.<init>(HttpClient.java:260) at sun.net.www.http.HttpClient.<init>(HttpClient.java:270) at sun.net.www.http.HttpClient.New(HttpClient.java:282) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:371) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:418) at IPN.doPost(IPN.java:47) at javax.servlet.http.HttpServlet.service(HttpServlet.java:521) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317) at org.apache.jserv.JServConnection.run(JServConnection.java:188) at java.lang.Thread.run(Thread.java:479) -- Apart from the obvious (network problems with our web host, internet trouble etc), is there anyone who has seen this with Java/Servlet/JServ/Apache? We run JServ/Apache on Linux with the following setup: Linux 2.4.7-10 #1 (RedHat) jserv Java Classic VM (build JDK-1.2.2_008, green threads, nojit) The problem occurs when we recieve the IPN from paypal and try to send the mandatory POST back to paypal servers. Due to Java versions we only use HTTP (no SSL) when posting to paypal. At the time of the last incident, we were able to traceroute all the way until where paypal blocks traceroute ( :-( ), that made me suspect it was a Java issue and not network related. Thanks Rikard F, eClasical.com ABC, DEFG, HIJ, KL
Sponsor  
 
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.441 seconds.