Automic Workload Automation

 View Only
  • 1.  SFTP JOBS

    Posted Jan 24, 2022 05:54 AM
    Hello,

    I converted a job SFTp from $U to automic this morning.
    the job was running in $U (same source agent) since many months.
    In automic, even if the connection (reading the report) seems work well (it has the same informations of the original $U job) doesn't transfer the file.

    The CONN  is defined with
    host
    port (8022)
    user

    The autentication is : SFTP Key authentication with the following fileld filled with the right value.
    key file
    pass phase

    When th job runs, it doesn't transfer.

    Below the last section of the report (i substituted the IP with xxx.xxx.xxx.xxx)

    Is there anyone who is able to help me ?

    Thank you very much in advance

    Stefano Giambaconi


    2022-01-21 09:33:07             kex: client->server aes128-ctr hmac-md5 zlib
    2022-01-21 09:33:07             SSH_MSG_KEX_ECDH_INIT sent
    2022-01-21 09:33:07             expecting SSH_MSG_KEX_ECDH_REPLY
    2022-01-21 09:33:07             ssh_rsa_verify: signature true
    2022-01-21 09:33:07             Host 'xxx.xxx.xxx.xxx' is known and matches the RSA host key
    2022-01-21 09:33:07             SSH_MSG_NEWKEYS sent
    2022-01-21 09:33:07             SSH_MSG_NEWKEYS received
    2022-01-21 09:33:07             SSH_MSG_SERVICE_REQUEST sent
    2022-01-21 09:33:07             SSH_MSG_SERVICE_ACCEPT received
    2022-01-21 09:33:07             Authentications that can continue: publickey,keyboard-interactive,password
    2022-01-21 09:33:07             Next authentication method: publickey
    2022-01-21 09:33:07             Authentication succeeded (publickey).
    2022-01-21 09:33:07             connection completed
    2022-01-21 09:33:07             0 files transferred, 1 not processed - 
    session is down
    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:823)
    Caused by: com.jcraft.jsch.JSchException: session is down
    	at com.jcraft.jsch.Channel.sendChannelOpen(Channel.java:762)
    	at com.jcraft.jsch.Channel.connect(Channel.java:151)
    	at com.jcraft.jsch.Channel.connect(Channel.java:145)
    	at com.uc4.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:158)
    	... 2 more
    2022-01-21 09:33:12             pool-1-thread-22622: LocalFileSysBrowserImpl: start: disconnect(): no args
    2022-01-21 09:33:12             pool-1-thread-22622: SFtpCommandImpl: start: disconnect(): no args
    2022-01-21 09:33:12             Disconnecting from xxx.xxx.xxx.xxx port 8022
    2022-01-21 09:33:12             pool-1-thread-22622: LocalFileSysBrowserImpl: start: disconnect(): no args



    ------------------------------
    Stefano Giambaconi
    ------------------------------


  • 2.  RE: SFTP JOBS

    Posted Jan 24, 2022 11:09 AM
    Do you have your FTP agent running on the same server that you used to transfer these files from?  If not, then this could be a local firewall rule blocking the file transfer.  You may need to white-list the IP address for the server your FTP agent is running on.

    ------------------------------
    Pete Wirfs
    SAIF Corporation
    Salem Oregon USA
    ------------------------------