Soap UI: ERROR:java.net.SocketException: Connection reset
WINDOWS
Option 1:
find the following file on your computer (make sure you have write access to the file):
C:\Program Files\SmartBear\SoapUI-5.2.1\bin\SoapUI-5.2.1.vmoptions
Add the following line to the file:
-Dsoapui.https.protocols="SSLv3,TLSv1.2"
- Run SoapUI with the .exe file (
SoapUI-5.2.1.exe
)
Option 2: (if option 1 does not work for you).
- Edit the following batch file on your computer (make sure you have write access to the file):
C:\Program Files\SmartBear\SoapUI-5.2.1\bin\soapui.bat
- Add the following line to the file (after:
if "%SOAPUI_HOME%" == "" goto START
):
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.https.protocols="SSLv3,TLSv1.2"
- Run SoapUI with the batch file (
soapui.bat
)
MAC (OSX)
The default install location for Mac is in the root Applications folder, and the vmoptions.txt
file is in there. Right-click the SOAPUI .app file (in the /Applications folder), and choose "Show Package Contents" to get to the internal files.
/Applications/SoapUI-X.X.X.app/Contents/vmoptions.txt
Add the following line to the vmoptions.txt
file:
-Dsoapui.https.protocols=TLSv1.2
LINUX
Edit:
bin/SoapUI-5.3.0.vmoptions
in SoapUI directoryAdd the following line to the file:
-Dsoapui.https.protocols=TLSv1.2
I hope it helps.
Tried all solutions but nothing worked. It started to work after ignoring jre directory in SoapUI. So if above solutions won't work for you then try this:
- Close SoapUI
- Go to SoapUi directory for example: C:\Program Files\SmartBear\SoapUI-5.3.0\
- Rename directory "jre" to "jre.ignore"
- Done. Open SoapUi and it should work now.