Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.net.ssl.SSLException: Received fatal alert: internal_error when calling HttpURLConnection.getO

user940663Jan 19 2016 — edited Jan 19 2016

I am trying to make a web service call using SOAPConnection.call(). The call is successful about 50% of the time. But some of the time it fails with a

com.sun.xml.messaging.saaj.SOAPExceptionImpl: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed

exception. I am using saaj-impl-1.3.25.jar as my SAOP api. I setup source code for this library and am able to step to a call to get an output stream. The call is: OutputStream out = httpConnection.getOutputStream(); on line 252 of HttpSOAPConnection. This call results in a javax.net.ssl.SSLException: Received fatal alert: internal_error exception about 50% of the time. I added retry feature to my code where I retry the SOAPConnection.call() and most of the time the call is successful on the second attempt. Note that I don't make any changes to my SOAPMessage that I pass in as the request when I retry the call. I'm at a loss for what could be happening...

BTW: I'm using Java 1.8.0.66 and this problem started when I migrated from 1.7.0.79.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 16 2016
Added on Jan 19 2016
0 comments
1,981 views