RA FTP agent ends abnormally with a Java exception: Connection reset

Document ID : KB000087608
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Caused by: com.uc4.ftpjob.DataTransferException: Connection exception.
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset

An RA FTP agent gets disconnected after being active for ~10 minutes.

Investigation


The RA FTP agent's forced trace file shows a Java exception error:
 
Caused by: com.uc4.ftpjob.DataTransferException: Connection exception.
    at com.uc4.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:150)
    at com.uc4.ftpjob.connections.ConnectionFactory$1.run(ConnectionFactory.java:61)
    ... 1 more
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
    at com.jcraft.jsch.Session.connect(Session.java:527)
    at com.jcraft.jsch.Session.connect(Session.java:162)
    at com.uc4.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:137)
    ... 2 more

 
Cause:
Cause type:
Other
Root Cause: It was discovered that an outside source was testing the limits of the SFTP, causing the connection to drop.
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: No Fix

Additional Information:
Workaround :
Unlock the IP address.