hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Hougentogler <jeff.hougentog...@gmail.com>
Subject Re: SSLHandshake + retry
Date Wed, 25 May 2005 01:37:45 GMT
I had a problem with SSL in Java 1.3 also. I fixed it by shutting off the 
stale connection checking in the HTTP client (it's on by default)--although 
I don't see it directly in your trace, it does show that the stream is being 
closed. Might be worth a try.

On 5/24/05, KOTA, KUMAR (SBCSI) <kk9142@sbc.com> wrote:
> 
> Hi oleg,
> 
> I am actually using java 1.3
> 
> Kumar Kota
> 
> 
> -----Original Message-----
> From: Oleg Kalnichevski [mailto:olegk@apache.org]
> Sent: Tuesday, May 24, 2005 12:11 PM
> To: httpclient-dev@jakarta.apache.org
> Subject: Re: SSLHandshake + retry
> 
> 
> Kumar,
> 
> HttpClient fully relies on external libraries (per default on the JRE's
> default JSSE provider) for SSL support. Any SSL related problem is most
> likely to have nothing to do with HttpClient as such. Are you using Java
> 1.5 by any chance?
> 
> Oleg
> 
> On Tue, 2005-05-24 at 10:56 -0700, KOTA, KUMAR (SBCSI) wrote:
> > Hi All,
> >
> > We are currently using HttpClient 3.0 in production right now. For some 
> reason, we continuously receive a large amount of initial SSL Handshake 
> Failure exceptions after which httpclient retries the request automatically 
> and then is able to connect. I was wondering what possible scenarios/reasons 
> are there as to why it fails the first time and then connects on the retry 
> so often. Basically, I was wondering if anyone has ever noticed this 
> behavior before?
> >
> > I pasted the log trace below (we continuously receive the following 
> three log statements in our system out):
> >
> > [5/23/05 8:48:34:592 PDT] 36cd0e78 HttpMethodBas I 
> org.apache.commons.httpclient.HttpMethodBase Stream closed
> > [5/23/05 8:50:06:954 PDT] 7f3c4e50 HttpMethodDir I 
> org.apache.commons.httpclient.HttpMethodDirector I/O exception caught when
> > processing request: SSL handshake failure
> > [5/23/05 8:50:06:954 PDT] 7f3c4e50 HttpMethodDir I 
> org.apache.commons.httpclient.HttpMethodDirector Retrying request
> >
> > Thank you,
> > Kumar Kota
> >
> >
> >
> > -----Original Message-----
> > From: Ortwin Glück [mailto:ortwin.glueck@nose.ch]
> > Sent: Monday, May 23, 2005 12:34 AM
> > To: HttpClient Project
> > Subject: Re: info re: library dependencies
> >
> >
> > As with all Maven enabled projects they can be found on the Website
> > under Project Info > Dependencies:
> > http://jakarta.apache.org/commons/httpclient/3.0/dependencies.html
> >
> > Ortwin Glück
> >
> > Alvarez, Gil wrote:
> > > Hi, were can I find information re: the library dependencies of the
> > > httpclient lib? In particular, which version of a particular lib is
> > > required for a particular version of httpclient. Eg, I just installed
> > > the latest version (3.0), but got some error from the codec lib, which 
> I
> > > have, but it looks like it may be the wrong version. I'll probably fix
> > > this by upgrading to the latest one, but it'd be nice if there was a
> > > definitive list of the dependencies somewhere.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: 
> httpclient-dev-help@jakarta.apache.org
> > >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 
> 


-- 

-J

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message