Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sr11
Contributor II
Contributor II

tFTP Connection fails with an 'Algorithm negotiation fail' error

Hi

 

Been getting the error mentioned in subject when i use the tFTP Component.

 

tFTPConnection_2 Algorithm negotiation fail
Exception in component tFTPConnection_2
com.jcraft.jsch.JSchException: Algorithm negotiation fail
at com.jcraft.jsch.Session.receive_kexinit(Session.java:583)
at com.jcraft.jsch.Session.connect(Session.java:320)
at com.jcraft.jsch.Session.connect(Session.java:183)

 

For this known bug reported on Jira (https://jira.talendforge.org/browse/TDI-32915?_ga=2.134940152.882342181.1545405419-1631910238.154151...), I see that this is an issue reported in 2015 and is to be fixed in v7.2.1

 

I have seen similar posts on the Forum, but has anyone found a workaround?

I am trying to push Files to the server which uses aes256 encryption algorithm, while Client ( the ftp component) is using sha1 and so the error.

 

Any inputs?

 

Thanks in advance

 

Labels (3)
3 Replies
Anonymous
Not applicable

Hello,

Is the workaround in this article OK with you?

 https://community.talend.com/t5/Migration-Configuration-and/tFTP-Connection-SFTP-fails-with-an-Algor...

Best regards

Sabrina

sr11
Contributor II
Contributor II
Author

Hi Sabrina

 

I tried the workaround suggested, but still the same error.

I did come across this though on Jira , that its a known bug submitted 2.5 years ago( bug in Talend 5.5.1 version)  : https://jira.talendforge.org/browse/TDI-32915?_ga=2.134940152.882342181.1545405419-1631910238.154151...

 

And as per the FTP component, it only supports SHA1 but for my case the Server side uses EAS256 encryption while the Client side is SHA and i believe so the negotiation failure error.

 

So any updates/ any other ways to solve this

Thank you

Anonymous
Not applicable

Hi

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

I had the sftp support checked.

I downloaded the latest jsch-0.1.55 from http://www.jcraft.com/jsch/, copied it into D:\Talend\TOS_DI-20151214_1327-V6.1.1\workspace\.Java\lib and renamed it jsch-0.1.51.jar.

After restarting the studio, same issue.

I then copied jsch-0.1.55.jar 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 !