hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pankaj (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCLIENT-893) SSL connection is giving exception some times
Date Mon, 23 Nov 2009 18:21:40 GMT
SSL connection is giving exception some times
---------------------------------------------

                 Key: HTTPCLIENT-893
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-893
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 3.1 Final
            Reporter: Pankaj


I am using Http commons to talk to my server.
I am facing an issue where after every few https calls I see this error:

javax.net.ssl.SSLException: bad record MAC

        at
com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591
)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1549
)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java
:850)

        at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.
java:746)

        at
com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)

        at
java.io.BufferedInputStream.fill(BufferedInputStream.java:218)

        at
java.io.BufferedInputStream.read(BufferedInputStream.java:237)

        at
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77)

        at
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105)

        at
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.jav
a:1115)


Sometime there is no error for 100 of calls and sometimes it errors in
6-7 calls.
Any ideas what might be wrong or if there is some existing bug in Http commons or even Sun?

Thanks,
Pankaj Arora



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message