Forum Discussion

kenripple's avatar
14 years ago

SSLHandshakeException: Remote host closed connection...

I am trying to set up a TestSuite in soupUI that invokes a web service on a IBM z/VSE based system. The SOAP services are running as part of CICS Transaction Server for z/VSE under the CICS Web Support feature. The CICS Web Support is configured for SSL and the web service is functioning properly when invoked via an HTTPS request from a .NET application. When I set up the request in soupUI I get the following error...

Wed Oct 20 16:26:42 EDT 2010:ERROR:javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at java.io.FilterOutputStream.flush(Unknown Source)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:506)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedPostMethod.writeRequest(ExtendedPostMethod.java:107)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:202)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
... 22 more

Oddly enough, I can use soupUI to perform HTTPS requests to other platforms (i.e. Microsoft IIS) without an issue. I am only having this issue with the CICS Web Support running on the z/VSE mainframe system. As I stated early though, the CICS Web Support is accessable from other platforms and the only place I'm having an issue is within soupUI. I have tried this with soupUI 3.6, 3.6.1 and the latest nightly build of 3.6.2 (as of 10/20/2010). All generate the same exception.

Any ideas? Is there something I can do to debug this further on the soupUI side? I am already looking into performing internal TCP/IP stack traces on the z/VSE host to get more information.

Regards,
Ken
No RepliesBe the first to reply