Hello,
I am using the Ready API 1.4.0 and getting the below SSL Exception when trying to test the service using HTTPS, But it is working fone in SOUP UI Pro 5.1.2 without any issues.
Please help me with the suggesttions on this..
Ready API 1.4.0 -Error getting response;javax.net.ssl.SSLException:Received fatal alert:close_notify
Log:
- Wed Feb 17 14:29:22 CST 2016:ERROR:Exception in request: javax.net.ssl.SSLException: Received fatal alert: close_notify
- Wed Feb 17 14:29:22 CST 2016:ERROR:An error occurred [Received fatal alert: close_notify], see error log for details
- Wed Feb 17 14:29:22 CST 2016:INFO:Error getting response for [ProductServiceBinding.getProductsStatusInfo:To Jave Product Servie Request 1]; javax.net.ssl.SSLException: Received fatal alert: close_notify
Ready Api: HTTP Log:
- Wed Feb 17 14:29:58 CST 2016
EBUG: >> "POST /services/Product/v5_0/ProductWS HTTP/1.1[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "Accept-Encoding: gzip,deflate[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "Content-Type: application/soap+xml;charset=UTF-8;action="/getProductsStatusInfo"[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "Authorization: Basic c19UaWJjb1dlYlN2Y3M6V3J1MkF5RWIqUQ==[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "Content-Length: 924[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "Host: webservicessit3.usfood.com[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "Connection: Keep-Alive[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "User-Agent: Apache-HttpClient/4.3.1 (java 1.5)[\r][\n]" - Wed Feb 17 14:29:58 CST 2016
EBUG: >> "[\r][\n]"
ReadyApi:Error Log:
- Wed Feb 17 14:30:38 CST 2016:ERROR:javax.net.ssl.SSLException: Received fatal alert: close_notify
- javax.net.ssl.SSLException: Received fatal alert: close_notify
- at sun.security.ssl.Alerts.getSSLException(Unknown Source)
- at sun.security.ssl.Alerts.getSSLException(Unknown Source)
- at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
- 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:159)
- at org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:179)
- at org.apache.http.impl.conn.LoggingSessionOutputBuffer.write(LoggingSessionOutputBuffer.java:73)
- at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:115)
- at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:110)
- at org.apache.http.entity.HttpEntityWrapper.writeTo(HttpEntityWrapper.java:89)
- at org.apache.http.impl.client.EntityEnclosingRequestWrapper$EntityWrapper.writeTo(EntityEnclosingRequestWrapper.java:108)
- at org.apache.http.impl.entity.EntitySerializer.serialize(EntitySerializer.java:117)
- at org.apache.http.impl.AbstractHttpClientConnection.sendRequestEntity(AbstractHttpClientConnection.java:265)
- at org.apache.http.impl.conn.AbstractClientConnAdapter.sendRequestEntity(AbstractClientConnAdapter.java:231)
- at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:236)
- at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doSendRequest(HttpClientSupport.java:119)
- at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)
- at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
- at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
- at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
- 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:295)
- at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:225)
- 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)
Thank you,
Sada
EBUG: >> "POST /services/Product/v5_0/ProductWS HTTP/1.1[\r][\n]"