javax.net.ssl.SSLException: Connection reset error
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll contact support
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!!!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much for sharing this with the Community!
Sonya Mihaljova
Community and Education Specialist
