cancel
Showing results for 
Search instead for 
Did you mean: 

getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

Highlighted
Contributor

getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

Hi All. When I'm trying to run Rest API call from readyAPI, I'm getting below error 

Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

I don't know what is the error here?  I'm using ReadyAPI 3.1.0, same api is working fine in ReadyAPI 3.0.0

14 REPLIES 14
Highlighted
Community Hero

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

How does end point look like? Check if you are using http instead of https.


Regards,
Rao.
Highlighted
Contributor

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

Hi nmaro. My endpoint is looking fine. It has to be in the format of https://{ip-address}/service.  Same endpoint was working fine earlier with version 3.1.0 also it is working fine in versions like 3.0.0

Highlighted
Community Hero

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

Using any key store / certificates? Are they expired? Just to ensure good from that front.


Regards,
Rao.
Highlighted
Community Hero

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

Highlighted
Community Leader

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

Hi @arunbharath ,

 

Generally Handshake error occurs :

 

when there is difference in TLS of both application endpoint and soapui.

 

You can correct the version in .vmoptions file located in bin folder of your soapui

 


Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓



Thanks and Regards,
Himanshu Tayal
Highlighted
Contributor

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

Hi HimanshuTayal,  Below is my .vmoption file contents, I'm not sure what to chage? 

-XX:MinHeapFreeRatio=20
-XX:MaxHeapFreeRatio=40
-Xms128m
-Xmx8000m
-Dsoapui.properties=soapui.properties
-Dsoapui.home=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin
-Dsoapui.ext.libraries=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin/ext
-Dsoapui.ext.listeners=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin/listeners
-Dsoapui.ext.actions=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin/actions
-Dwsi.dir=C:\Program Files\SmartBear\ReadyAPI-3.1.0/wsi-test-tools
-Djava.library.path=C:\Program Files\SmartBear\ReadyAPI-3.1.0/bin
-Djava.util.Arrays.useLegacyMergeSort=true
-Dsun.net.http.allowRestrictedHeaders=true
-Djava.security.manager=com.smartbear.ready.ReadyApiSecurityManager
Highlighted
Community Leader

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

@arunbharath ,

 

Add below in your .vmoption file

 

-Dsoapui.https.protocols=<TLSv1.2, TLSv1, SSLv3>

 

just specify single version which you want to use. Hope it will resolve your issue.

 


Click "Accept as Solution" if my answer has helped,
Remember to give "Kudos" 🙂 ↓↓↓↓↓



Thanks and Regards,
Himanshu Tayal
Highlighted
Contributor

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

@HimanshuTayal . Addding -Dsoapui.https.protocols=TLSv1.2 is resloved the ssl exception issue, but new problem is response is not showing up. Request went through successfully, even I'm able to see the response in the logs but not in the response panel.

Highlighted
Community Hero

Re: getting Error getting response; javax.net.ssl.SSLException: Couldn't kickstart handshaking

The system argument details was given already in the link above; looks you missed other day.

Which service REST or SOAP ? Have you looked at xml or json tabs?


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors