cancel
Showing results for 
Search instead for 
Did you mean: 

javax.net.ssl.SSLException: Connection reset error

SOLVED
Occasional Contributor

javax.net.ssl.SSLException: Connection reset error

I'm using ReadyAPI 3.4.5

When I run a GET request that requires no authentication I get:

ERROR: Exception in request: javax.net.ssl.SSLException: Connection reset
ERROR: An error occurred [Connection reset], see error log for details
INFO: Error getting response for [https://racq.uat.cds.cuscal.com.au.Products:Request 1]; javax.net.ssl.SSLException: Connection reset

To test, I downloaded POSTMAN community edition and the same request on the same machine runs fine!

I have looked at previous posts and implemented several suggestions like adding -Dsoapui.https.protocols=SSLv3,TLSv1.2 to the ReadyAPI.vmoptions file but I'm still getting the error.

Also note: the same request to our dev end point https://dev-api2.racq.com.au.wadl/ works but it fails for https://racq.uat.cds.cuscal.com.au.wadl/ 

1 ACCEPTED SOLUTION

Accepted Solutions
Occasional Contributor

Re: javax.net.ssl.SSLException: Connection reset error

While investigating another issue (the Check for updates function was not working -timing out) support asked me to check the ReadyAPI proxy settings. Just setting the proxy ON, made the Check for updates work. So I thought I'd try to run my REST request with the proxy on and it worked! So eventually it was a very simple solution!!!

View solution in original post

6 REPLIES 6
Community Hero

Re: javax.net.ssl.SSLException: Connection reset error

Hey @Stalsy,

First thing i always check if i ever get an SSL Exception is to switch http to https or https to http.

Have you tried altering from secure to nonsecure? Virtually every time ive had this response http vs https has been the fix.

Nice one

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Occasional Contributor

Re: javax.net.ssl.SSLException: Connection reset error

Hi Rich,

That was one of the multitude of things I tried. With HTTP I get a time out:

Thu Jan 07 15:49:50 AEST 2021: ERROR: Exception in request: org.apache.http.conn.HttpHostConnectException: Connect to 203.21.202.34:80 [/203.21.202.34] failed: Connection timed out: connect

Thu Jan 07 15:49:50 AEST 2021: ERROR: An error occurred [Connect to 203.21.202.34:80 [/203.21.202.34] failed: Connection timed out: connect], see error log for details

Thu Jan 07 15:49:50 AEST 2021: INFO: Error getting response for [http://racq.uat.cds.cuscal.com.au.Products:Request 1]; org.apache.http.conn.HttpHostConnectException: Connect to 203.21.202.34:80 [/203.21.202.34] failed: Connection timed out: connect

Community Manager

Re: javax.net.ssl.SSLException: Connection reset error

Rich, thank you!

 

Hi @Stalsy ! Did you manage to figure this one out? Please share your solution with the Community, if you did!

 

If the issue persists, contacting support would be the next best step.


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Occasional Contributor

Re: javax.net.ssl.SSLException: Connection reset error

I'll contact support

Occasional Contributor

Re: javax.net.ssl.SSLException: Connection reset error

While investigating another issue (the Check for updates function was not working -timing out) support asked me to check the ReadyAPI proxy settings. Just setting the proxy ON, made the Check for updates work. So I thought I'd try to run my REST request with the proxy on and it worked! So eventually it was a very simple solution!!!

View solution in original post

Community Manager

Re: javax.net.ssl.SSLException: Connection reset error

Thank you so much for sharing this with the Community!


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors