slow getInputStream on URLConnection
843790Oct 8 2008 — edited Oct 12 2008hi all,
I have a problem with intimitant VERY slow getInputStream method calls on a URLConnection.
The connection is connecting to an HTTPS url and can transmit the data quickly (openConnection, getOutputStream, write, flush then close all complete quickly).
However, when the method call to: con.getInputStream() is attempted, it sits around for about 15 minutes sometimes before returning successfully.
the app is running on a weblogic 9.2 server with java 1.5.0.4.
this slowness only occurs for a particular url, and not any other HTTPS urls. also, the issue seems to only have started occurring alot more (1 in 5+) since moving to java1.5 and weblogic 9.2.
my initial thoughts are SSL handshake delays but i am clueless on how to fix the issue... i have no debugging turned on for ssl either, which might be a start...
anyone have any idea how this is occurring and better yet: how to fix it?