Forum Discussion

gthoram's avatar
gthoram
New Member
9 years ago

SOAPUI - SSLHandshakeException

Hi Team,

We are using SOAPUI for our testing REST/JSON based web services.

For one of the JSON based web services , we are facing “SSLHandshakeException: Remote host closed connection during handshake”  exceptions. Could you please let us know the resolution for this.

 

 

More details about the exception:

  • Tue Apr 26 13:19:53 IST 2016:ERROR:javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  • javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  • at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
  • at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
  • at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
  • at sun.security.ssl.AppOutputStream.write(Unknown Source)
  • at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131)
  • at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:138)
  • at org.apache.http.impl.conn.LoggingSessionOutputBuffer.flush(LoggingSessionOutputBuffer.java:95)
  • at org.apache.http.impl.io.ContentLengthOutputStream.flush(ContentLengthOutputStream.java:102)
  • at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:69)
  • at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:96)
  • at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
  • at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:120)
  • at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:263)
  • at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:227)
  • at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:255)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doSendRequest(HttpClientSupport.java:119)
  • at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
  • at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:633)
  • at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454)
  • at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
  • at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:323)
  • at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:290)
  • at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:220)
  • at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119)
  • at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  • at java.util.concurrent.FutureTask.run(Unknown Source)
  • at java.util.concurrent.ThreadPoolExecutor.runWorker(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 sun.security.ssl.InputRecord.read(Unknown Source)

 

Regards

Ganga Bhavani

Security Analyst

  • All

     

    we are also getting same error when we try to connect to Oracle field service cloud application. We are using SOAPUI 5.2.1.

    any insights?

     

    thank you!

    Piyush