commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Leg <hale_in...@yahoo.com>
Subject [httpclient] about bad_record_mac
Date Fri, 25 Mar 2005 06:15:15 GMT
Hi

I post a few weeks ago a bad_record_mac error.
With Steve, Brad and Oleg help I solved it.

My appli was working good until now. I have added
      ((SSLSocket)socket).setEnabledProtocols(new String[] {"SSLv3"});
      ((SSLSocket)socket).setUseClientMode(true);

In my custom SecureProtocolSocketFactory

I just install my appli on the production machine : just transfert the 
jar and run appli.
And patatra similar (not same) problem (see log below). I then recompile 
on production machine : same result.

My production machine run mandrake 10.1 with 2.6.8.1 kernel and 
j2sdk1.4.2_04
Devt machine run fedora2 with 2.6.7 kernel and j2sdk1.4.2_04.
The  problem does not arrived at same level it is at the very begining 
on the good working machine the blocking point is passed with success 
even it the connection to internet is closed.

Any idea welcome

Andre

Mar 25, 2005 7:46:23 AM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception caught when processing request: Received fatal 
alert: bad_record_mac
Mar 25, 2005 7:46:23 AM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
Mar 25, 2005 7:46:24 AM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception caught when processing request: Received fatal 
alert: bad_record_mac
Mar 25, 2005 7:46:24 AM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
Mar 25, 2005 7:46:25 AM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception caught when processing request: Received fatal 
alert: bad_record_mac
Mar 25, 2005 7:46:25 AM org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
Exception in thread "main" javax.net.ssl.SSLException: Received fatal 
alert: bad_record_mac
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
        at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
        at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
        at 
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:825)
        at 
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1920)
        at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1002)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:382)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:393)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
        at org.compiere.mfg_scm.mageManager.Mages.main(Unknown Source)

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