SFTP job fails with SSH_MSG_DISCONNECT message

Document ID : KB000103839
Last Modified Date : 29/06/2018
Show Technical Document Details
Issue:
An SFTP connection is able to connect in version 10 but not version 12.
The error message received is: SSH_MSG_DISCONNECT: 11 No appropriate prime between 1024 and 1024 is available.. 


SSH_MSG_DISCONNECT: 11 No appropriate prime between 1024 and 1024 is available.  en
com.uc4.ftpjob.DataTransferException: Connection exception.
    at com.uc4.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:222)
    at com.uc4.ftpjob.connections.ConnectionFactory$1.run(ConnectionFactory.java:70)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 11 No appropriate prime between 1024 and 1024 is available.  en
    at com.jcraft.jsch.Session.read(Session.java:1004)
    at com.jcraft.jsch.Session.connect(Session.java:323)
    at com.jcraft.jsch.Session.connect(Session.java:183)
    at com.uc4.transfer.CITSFTPImpl.<init>(CITSFTPImpl.java:202)
    ... 2 more
Environment:
Windows Server 2012 R2
Resolution:
This issue was resolved disabling the UAC (User Access Control) on the Windows server.