WA Agent SFTP Job fails with "bad message" errors
search cancel

WA Agent SFTP Job fails with "bad message" errors

book

Article ID: 389937

calendar_today

Updated On:

Products

ESP dSeries Workload Automation CA Workload Automation AE - System Agent (AutoSys) ESP dSeries Workload Automation - Business Agents (dSeries) ESP dSeries Workload Automation - System Agent (dSeries)

Issue/Introduction

In some instances, the SFTP job may fail when downloading large number files. The following error message will be in agent spool / logs.

SOME_SFTP_JOB/MY_APP.1/MAIN.CybSFTPHandler.run[:979] - com.jscape.inet.sftp.RequestException: Bad message.
at com.jscape.inet.sftp.Sftp.a(Unknown Source)
at com.jscape.inet.sftp.Sftp.a(Unknown Source)
at com.jscape.inet.sftp.Sftp.setDir(Unknown Source)
at cybermation.plugins.ftp.scp.CybSFTPHandler.a(CybSFTPHandler.java:506)
at cybermation.plugins.ftp.scp.CybSFTPHandler.run(CybSFTPHandler.java:959)
at java.lang.Thread.run(Thread.java:821)

 

 

Environment

Workload Automation Agent 12.0

Cause

This is an issue with the agent libraries. 

Resolution

Upgrade WA Agent to 12.1 SP1 (12.1.01) or above.