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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
nmodi
Creator
Creator

BUG - SFTP connection failed - Algorithm negotiation fail

I keep getting 'Algorithm negotiation fail' error while trying to connect to SFTP

 

Exception in component tFTPConnection_1 (TesttGPGDecrypt)
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)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.tFTPConnection_1Process(TesttGPGDecrypt.java:2584)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.tSetGlobalVar_1Process(TesttGPGDecrypt.java:2381)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tMSSqlInput_1Process(TesttGPGDecrypt.java:2223)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tFileInputRaw_2Process(TesttGPGDecrypt.java:5352)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tFileInputRaw_1Process(TesttGPGDecrypt.java:4946)
at <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt.jlet_core_contextload_1_tFileExist_2Process(TesttGPGDecrypt.java:5750)
[FATAL]: <projectname>.testtgpgdecrypt_0_2.TesttGPGDecrypt - tFTPConnection_1 Algorithm negotiation fail

 

I am able to connect to that SFTP using filezilla, regular FTP works fine. its SFTP that is causing this issue.

 

Here is my job screenshot

 

0683p000009Ls9F.png

 

I read this post about same issue that it can be fixed updating jsch jar file but it doesnt work.

 

"rename your new .jar file with the old one(rename jsch-0.1.54 as  jsch-0.1.51) and restart your studio to see if it works?"

https://community.talend.com/t5/Design-and-Development/How-to-Update-jsch-jar/td-p/65360

 

using 6.4 enterprise version.

Labels (1)
5 Replies
nmodi
Creator
Creator
Author

I have tried installing jsch-0.1.54.jar as jsch-0.1.53.jar by renaming that file as suggested here https://www.talendforge.org/forum/viewtopic.php?id=52760 

 

download link : http://sourceforge.net/projects/jsch/files/jsch.jar/0.1.54/jsch-0.1.54.jar/download

 

but it doesn't work.

 

need resolution on this asap, would really appreciate any help on this issue.

 

 

Anonymous
Not applicable

Hello,

Current SFTP of tFTPConnection only support SHA1 algorithm.

Here is a new feature jira issue:https://jira.talendforge.org/browse/TDI-32915

Best regards

Sabrina

nmodi
Creator
Creator
Author

https://jira.talendforge.org/browse/TDI-32915 is submitted 2.5 years ago, as bug in 5.5.1 version. 

 

Any idea when it is going to be fixed? SHA1 is depreciated hence supporting SHA2 is critical & should be considered as high priority.

 

 

Anonymous
Not applicable

Hello,

So far, we don't have extract time when this new feature issue is going to be fixed.

Feel free to vote for this new feature jira issue and we will keep you posted.

Best regards

Sabrina

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.

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 !