The FTP job fails:Connection attempt failed: Auth cancel for methods 'publickey,password'
search cancel

The FTP job fails:Connection attempt failed: Auth cancel for methods 'publickey,password'

book

Article ID: 374667

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The FTP job is failing witht he rror message below in the report log.

 

Authentications that can continue: publickey,keyboard-interactive,password
 Next authentication method: publickey
 Authentications that can continue: password
Next authentication method: password
Disconnecting from <HOSTNAME> port 22
Connection attempt failed: Auth cancel for methods 'publickey,password'
Error creating connection.: com.automic.agent.ftp.exceptions.DataTransferException: Error creating connection.
                 at com.automic.agent.ftp.connections.ConnectionManager._createConnection(ConnectionManager.java:109)
                 at com.automic.agent.ftp.connections.ConnectionManager.createConnection(ConnectionManager.java:41)
                 at com.automic.agent.ftp.commands.CommandProcessor.createInitialConnections(CommandProcessor.java:205)
                 at com.automic.agent.ftp.commands.CommandProcessor.execCommand(CommandProcessor.java:311)
                 at com.automic.agent.ftp.commands.CommandProcessor.processCommands(CommandProcessor.java:176)
                 at com.automic.agent.ftp.jobs.FtpJob.runJob(FtpJob.java:79)
                 at com.automic.ra.agent.RaJobProcessorImpl.execute(RaJobProcessorImpl.java:93)
                 at com.uc4.ex.Job.run(Job.java:474)
                 at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:105)
                 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
                 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
                 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
                 at java.base/java.lang.Thread.run(Thread.java:840)
             Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: com.automic.agent.ftp.exceptions.DataTransferException: Connection exception.
                 at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
                 at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
                 at com.automic.agent.ftp.connections.ConnectionManager._createConnection(ConnectionManager.java:101)
                 ... 13 more
             Caused by: java.lang.RuntimeException: com.automic.agent.ftp.exceptions.DataTransferException: Connection exception.
                 at com.automic.agent.ftp.connections.ConnectionManager.lambda$_createConnection$0(ConnectionManager.java:95)
                 ... 4 more

Environment

Product: CA Automic Workload Automation - Automation Engine v24.x, Integration FTP agent v24.x 

Cause

Incorrect username and/or password in the FTP Connection object

Resolution

Please re-enter the username and/or password in the FTP Connection object.