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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
GOng1689739437
Contributor II
Contributor II

SFTP connection error - Session.connect: java.io.IOException: End of IO Stream Read

Hi,

Our job that uses a "tFTPPut" job recently started failing this morning. There hasn't been any change on our side and most definitely a change on the SFTP server side. I tried using only "tFTPConnection" but it's also failing. We're using "password" authentication method with username/password.

Error below:

0695b00000luun9AAA.png

The vendor told us that their private key had been updated and told us to "trust the new key", however we don't get this option in Talend and I can't find a way to reset the trust store for this.

I can connect to the SFTP server using WinSCP and I received a pop up to trust the new key prior to connecting successfully in WinSCP.

We're using Talend Open Studio for Big Data (version 8.0.1).

Please help!

P.S, I did find a previous post here: https://community.talend.com/s/question/0D53p00007vClS0CAK/tftpconnection-omjcraftjschjschexception-...

but no one has answered successfully.

Labels (4)
8 Replies
Anonymous
Not applicable

Hello @Geoffrey Ong​ ,

Could you please give a snapshot of the connection settings using WinSCP as well as the connection settings for tFTPConnection component in the job?

 

Best regards

Aiming

GOng1689739437
Contributor II
Contributor II
Author

0695b00000lv8RMAAY.jpg0695b00000lv8RgAAI.png 

 

In WinSCP (default settings, just username password on SFTP using port 22):

 

0695b00000lv8ULAAY.jpgServer and protocol info in WinSCP (Not sure if SFTP-6 is supported in Talend):

0695b00000lv8VOAAY.jpg 

Anonymous
Not applicable

Hello @Geoffrey Ong​ ,

Someone met the issue before , see https://stackoverflow.com/questions/37280442/jsch-0-1-53-session-connect-throws-end-of-io-stream-rea...

The possible solution is to upgrade the jsch jar version to the latest 0.1.55 version

Please try to :

  1. download the latest 0.1.55 version of jsch jar from https://mvnrepository.com/artifact/com.jcraft/jsch/0.1.55
  2. In talend Studio Modules view, edit the jsch-0.2.1.jar module to provide the custom Maven URI with the downloaded 0.1.55 jar

see https://help.talend.com/r/en-US/8.0/studio-user-guide/customizing-maven-uri-for-external-module-deployment0695b00000lv9JTAAY.png3 Re-try the job

GOng1689739437
Contributor II
Contributor II
Author

It's already using 0.1.55 jar. See below:

0695b00000lv9SzAAI.png 

Even if I download it again and try to change it, it won't let me.

 

0695b00000lv9T9AAI.png 

Anonymous
Not applicable

Seems it's not the jsch jar version issue as yours is already 0.1.55.

To debug the job log, you can check the log4jLevel = 'Debug' in the job's Run Advanced settings

 

 

 

GOng1689739437
Contributor II
Contributor II
Author

0695b00000lvbvLAAQ.png

sredddy1595601271
Contributor
Contributor

Hello,

Have you find any solution for this issue m facing same issue. Please kindly reply on this if you find any solution

URWITEU
Contributor II
Contributor II

Hello,

I have the same issue too. So I added the 1.55 jar in a tLibraryLoad to check and it works. But not in the TMC and I don't want to change the jar in "module" because it will impact all tLibraryLoad in my project. And it is a big downgrade (2.1 to 1.55)

What should I do ?

Regards.