Problem
A connection reset socket exception is thrown when attempting to connect to SOAP.
INFO | jvm 1 | 2018/08/01 10:58:48 | SEVERE: Connection reset INFO | jvm 1 | 2018/08/01 10:58:48 | java.net.SocketException: Connection reset
This error indicates it is attempting to use a protocol that is not supported. USxS-R will not allow SSL connections.
Solution
Add a line to the agent configuration file which specifies the valid protocols to be used, thus disabling SSL.
USxS SIF Agents
For the USAS and USPS SIF Agents, update the usas.conf
and usps.conf
file to include the following line
wrapper.java.additional.1=-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
Java 8 and SIFWORKS ZIS
Installing Java 8 would also resolve this issue, however, at this time the certificate used by the SIFWorks ZIS is too weak for Java 8. If the SIFWorks ZIS is on the same server as the USxS SIF Agents, attempting to install Java 8 will result in handshake/certificate issues for the ZIS. Using the above configuration to define the protocols to be used with Java 7 is the preferred solution. ODE intends to update ZIS late 2018. In doing so, the ZIS will use an updated, stronger certificate that will be compatible with Java 8.