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.
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
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!!!