ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

SFTP Jobs fail with “InvalidAlgorithmParameterException” when using Java versions 8 or less or a non-default SFTP port.


Article ID: 88008


Updated On:


CA Automic Workload Automation - Automation Engine


Error Message :
Caused by: com.jcraft.jsch.JSchException: Session.connect: Prime size must be multiple of 64, and can only range from 512 to 4096 (inclusive)

The above exception occurs in the current versions of the FTP Agent (versions 3.1.5 HF1 and 4.0.1), and only happens when running SFTP jobs with a Java version less than 1.8 or using a non-default SFTP Port  (port other than port 22).


Cause type:
Root Cause: There is a conflict with Java 8 and jsch0.1.53, which is used by the FTP agent.


OS Version: N/A


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

Fix Status: Released

Fix Version(s):
RA FTP 4.0.2 - Available

Additional Information

Workaround :
Load the previous version of the FTP Agent (3.1.5).