[REST] Having the following error: error getting response java.net.socketexception connection reset
Hello all. First of all, let me please apologize if this is the wrong forum or a dumb question. I did a lot of research beforehand and for the life for me I cannot understand what I am doing wrong. Also, please excuse me English, as I'm not a native English speaker.
So, I've two different projects set up with the exact same XML request with two different WADL urls. One of them is working and the other is not, and I just cannot understand what's wrong.
This is the error I'm getting:
error getting response java.net.socketexception connection reset
According to some google results this is due to a SSL certificate issue. So I've tried a few solutions I found online, such as modifying the soapui.bat and SoapUI-5.2.1.vmoptions files:
soapui.bat
if "%SOAPUI_HOME%" == "" goto START set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext" set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners" set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%SOAPUI_HOME%\" set JAVA_OPTS=%JAVA_OPTS% -Dwsi.dir="%SOAPUI_HOME%..\wsi-test-tools" set JAVA_OPTS=%JAVA_OPTS% -Dsun.security.ssl.allowUnsafeRenegotiation=true set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.net.ssl.enableECC=false set JAVA_OPTS=%JAVA_OPTS% -Djsse.enableSNIExtension=false set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.net.ssl.checkRevocation=false set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true rem uncomment to disable browser component rem set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.browser.disabled="true"
SoapUI-5.2.1.vmoptions
-XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Xms128m -Xmx1000m -Dsoapui.properties=soapui.properties -Dsoapui.home=C:\Program Files\SoapUI-5.2.1/bin -Dsoapui.ext.libraries=C:\Program Files\SoapUI-5.2.1/bin/ext -Dsoapui.ext.listeners=C:\Program Files\SoapUI-5.2.1/bin/listeners -Dsoapui.ext.actions=C:\Program Files\SoapUI-5.2.1/bin/actions -Dwsi.dir=C:\Program Files\SoapUI-5.2.1/wsi-test-tools -Djava.library.path=C:\Program Files\SoapUI-5.2.1/bin -Djava.util.Arrays.useLegacyMergeSort=true -Dsun.security.ssl.allowUnsafeRenegotiation=true -Dcom.sun.net.ssl.enableECC=false -Djsse.enableSNIExtension=false -Dcom.sun.net.ssl.checkRevocation=false -Djava.net.preferIPv4Stack=true -splash:SoapUI-Spashscreen.png
Also, the logs:
SoapUI log: http://pastebin.com/J9rET9wC
error log: http://pastebin.com/FJMGYBKK
What is really puzzling me is that when I execute the request on another tool it works just fine. So I'm sure it's probably a configuration issue on SoapUI.
What could I be doing wrong? Where should I start looking? Is there anything I'm missing?
Any help would be greatly appreciated!
Thanks!