Agent IG FTP cannot use SFTP private key authentication
search cancel

Agent IG FTP cannot use SFTP private key authentication

book

Article ID: 279417

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Agent RA FTP was replaced with the new Agent IG_FTP 21.0.0 and since then all JOBS SFTP that use a private key authentication don't work anymore

The root cause seems to be written in the Report as the file path is not shown:

Using SFTP private key file: null

In the PLOG log we can find the following errors:

+++++++++++++++++++++++++++++++++++++ Start of Runtime Exception ++++++++++++++++++++++++++++++++++++
java.lang.RuntimeException: com.automic.agent.ftp.exceptions.AbortJobException: Job aborted.
at com.automic.agent.ftp.jobs.FtpJob.runJob(FtpJob.java:78)
at com.automic.ra.agent.RaJobProcessorImpl.execute(RaJobProcessorImpl.java:93)
at com.uc4.ex.Job.run(Job.java:463)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.automic.agent.ftp.exceptions.AbortJobException: Job aborted.
at com.automic.agent.ftp.commands.CommandProcessor.execCommand(CommandProcessor.java:357)
at com.automic.agent.ftp.commands.CommandProcessor.processCommands(CommandProcessor.java:185)
at com.automic.agent.ftp.jobs.FtpJob.runJob(FtpJob.java:74)
... 7 more
Caused by: com.automic.agent.ftp.exceptions.DataTransferException: Connection exception.
at com.automic.agent.ftp.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:155)
at com.automic.agent.ftp.connections.ConnectionManager$1.run(ConnectionManager.java:84)
... 1 more
Caused by: java.lang.NullPointerException
at com.jcraft.jsch.Util.checkTilde(Util.java:494)
at com.jcraft.jsch.Util.fromFile(Util.java:513)
at com.jcraft.jsch.KeyPair.load(KeyPair.java:649)
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:37)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:483)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:466)
at com.automic.agent.ftp.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:132)
... 2 more
++++++++++++++++++++++++++++++++++++++ End of Runtime Exception ++++++++++++++++++++++++++++++++++++++

Environment

Agent Integration FTP 21.0.0

Cause

Defect

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:
Component(s): Integration FTP
Integration.FTP 21.0.1 - Released Mar 29, 2024

Additional Information

Defect ID: IG_FTP-22