Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFTPConnection_1 : Algorithm negotiation fail

Hello everyone,
Here is my problem : I had a job that worked very well and that would get me my files on a remote server. But since they changed their FTP for SFTP I have this error that appears.
"Exception in component tFTPConnection_1
com.jcraft.jsch.JSchException: Algorithm negotiation fail
    at com.jcraft.jsch.Session.receive_kexinit(Session.java:529)
    at com.jcraft.jsch.Session.connect(Session.java:291)
    at com.jcraft.jsch.Session.connect(Session.java:154)
    at projectname.import_ftp_acf_wc_ong_v1_0_1.import_FTP_ACF_WC_ONG_V1.tFTPConnection_1Process(import_FTP_ACF_WC_ONG_V1.java:1139)
    at projectname.import_ftp_acf_wc_ong_v1_0_1.import_FTP_ACF_WC_ONG_V1$3.run(import_FTP_ACF_WC_ONG_V1.java:9552)"
I can connect with WinSCP on the server so my IDs are good.
I am new at Talend, I have no idea how to remedy that.
Thank you for your help.
PS: Sorry for my poor english
Labels (3)
5 Replies
Anonymous
Not applicable
Author

Hi,
Have you checked out "SFTP support" on tFTPConnection component? There is no network issue on your end? Can you connect your changed remote server through other tools successfully without using talend tool?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello,
Yes, the "SFTP support" is checked and i connect my changed remote server with Winscp to get my remote files manually.
Cordially
Anonymous
Not applicable
Author

Hello,
Try to upgrade the library jsch.jar in TOS_DI-20141024_1545-V5.6.0\configuration\lib\java to the latest version(jsch-0.1.53.zip and rename it to jsch.jar) that you can get from  jcraft.com/jsch/, restart talend and execute your job.
Regards,
Amine
_AnonymousUser
Specialist III
Specialist III

Hello, I'm facing the same issue
dase the tFTPconnection in talend support :
 - KexAlgorithms  diffie-hellman-group-exchange-sha256
 - MACs  hmac-sha2-512,hmac-sha2-256
 - Ciphers  aes256-ctr,aes192-ctr,aes128-ctr

and yep, "SFTP support" is selected. 
i'm using private key with key Passphrase.

Thanks.
Anonymous
Not applicable
Author

Hi

I had the same issue using TOS 6.1 to connect to a FTP with implicit TLS.

I had the sftp support checked.

Following this thread, I downloaded jsch-0.1.55, copied it into D:\Talend\TOS_DI-20151214_1327-V6.1.1\workspace\.Java\lib and renamed it jsch-0.1.51.jar. After restzrting the studio, same issue.

I then copied it to D:\Talend\TOS_DI-20151214_1327-V6.1.1\configuration\.m2\repository\org\talend\libraries\jsch-0.1.51\6.0.0-SNAPSHOT to replace the existing jsch-0.1.51-6.0.0-SNAPSHOT.jar

It now works after restarting the studio

Hope it helps !