RA FTP Job Aborts or check SFTP connection fails

Document ID : KB000087970
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)

When trying to run a RA-FTP job after a recent upgrade or on a new install the job will abort (fail) or in checking the connection the following error will be thrown:

Caused by: com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)
at com.jcraft.jsch.Session.connect(Session.java:558)
at com.jcraft.jsch.Session.connect(Session.java:183)
at com.uc4.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:194)

The issue is caused by a conflict between Java 8 and the JSCH library and was introduced in version 3.5.1 HF1 of the RA-FTP solution.
Cause:
Cause type:
Defect
Root Cause: conflict between Java 8 and the JSCH library
Resolution:
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 :
Back out of RA-FTP 3.1.5 HF1 to RA-FTP 3.1.5 without HF1.