Job settings for FTP jobs show that on failures there should be 2 reconnect attempts with a wait of 60 seconds in between. The jobs that are failing with a runtime of 30 seconds or less and there is no attempt to reconnect.
The FTP Job appears to connect to both servers and then fails with "Session.connect: java.net.SocketException: Connection reset" - should this kick off one of the reconnection attempts outline here: https://docs.automic.com/documentation/webhelp/english/ALL/components/RA_FTP/latest/Agent%20Guide/help_en.htm#RA/FTP/AWI/Editing_Job_Settings.htm
FTP job runs and sometimes throws the following error after just a few seconds:
2021-05-08 17:00:57 Connecting to dnsname.com port 22
2021-05-08 17:00:57 Connection established
...
2021-05-08 17:00:57 Connecting to 10.254.230.62 port 22
2021-05-08 17:00:57 Connection established
...
2021-05-08 17:00:59 0 files transferred, 1 not processed -
Session.connect: java.net.SocketException: Connection reset
com.uc4.ftpjob.DataTransferException: Connection exception.
at com.uc4.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:175)
at com.uc4.ftpjob.connections.ConnectionManager$1.run(ConnectionManager.java:87)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
Question is, based on the docs: https://docs.automic.com/documentation/webhelp/english/ALL/components/RA_FTP/latest/Agent%20Guide/help_en.htm#RA/FTP/AWI/Editing_Job_Settings.htm
Should it reconnect based on the "Reconnection attempts" and do we have a better description of what the following means:
The Job monitoring kills the connection.
The Agent issues a command that gets no reply and exceeds the time specified for the Stalled transfer detection time span (in seconds) field below.
RA FTP Agent 4.x
Release : 12.3
Component : AUTOMATION ENGINE
The reconnection attempts do not apply to already created established connections, only to new connections (so if the software is unable to connect to begin with). So in the case described above, it is normal that the reconnection attempts don't occur.