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: 
PD2
Contributor
Contributor

tFTPPut exception

I am new to Talend so when errors occur not really sure what to make of them,
In the process of creating a project that needs to move files around.
Everything works except once in a while I get:
Exception in component tFTPPut_1
com.jcraft.jsch.JSchException: verify: false
at com.jcraft.jsch.Session.connect(Session.java:301)
at com.jcraft.jsch.Session.connect(Session.java:154)
at relayhealth.jbputfiles_0_1.jbPutFiles.tFileList_1Process(jbPutFiles.java:754)
at relayhealth.jbputfiles_0_1.jbPutFiles.runJobInTOS(jbPutFiles.java:1469)
at relayhealth.jbputfiles_0_1.jbPutFiles.runJob(jbPutFiles.java:1272)
at relayhealth.jbmainflow_0_1.jbMainFlow.tRunJob_2Process(jbMainFlow.java:1760)
at relayhealth.jbmainflow_0_1.jbMainFlow.tRunJob_1Process(jbMainFlow.java:1602)
at relayhealth.jbmainflow_0_1.jbMainFlow.tJava_1Process(jbMainFlow.java:1394)
at relayhealth.jbmainflow_0_1.jbMainFlow.tFileInputProperties_1Process(jbMainFlow.java:1249)
at relayhealth.jbmainflow_0_1.jbMainFlow.runJobInTOS(jbMainFlow.java:2055)
at relayhealth.jbmainflow_0_1.jbMainFlow.main(jbMainFlow.java:1875)
disconnected
Job jbMainFlow ended at 12:21 28/12/2013.
Not really sure what to make of it.
Network error?
If I kick the job off again, the job picks up where it left off.
Not sure what is going on.
Thanks
Peter
Labels (3)
5 Replies
Anonymous
Not applicable

I have found these issue for very large files or for thousands of connections attempts.
You could also try to download a newer release of JSch library and add this library with a tLoadLibrary in your job.
PD2
Contributor
Contributor
Author

Working nicely. Thanks.
-Peter
PD2
Contributor
Contributor
Author

I have downloaded the latest release of the JSch library (0.1.5) and added this library with a tLoadLibrary to my job.
Is there anything else I need to do in order to ensure that JSch library (0.1.5) is actually running.
I am getting some errors again.
Exception in component tFTPPut_1
com.jcraft.jsch.JSchException: verify: false
How do I actually know which version of the Jsch library is actually running?
Thanks
Peter
Anonymous
Not applicable

This error also happens if you connect with a lot of connections (or the server will connected with a lot of connections).
If you use this component in iterations (e.g. you iterate through a list of files and put them on the server) you have to take care the connection will be closed within the job.
Unfortunately Talend does not have an close component. Thats why I have added this missing component to Talend Exchange tFTPClose. Try this component. You should use that after the put command is succeeded AND in case of failure (if your job does not care about failed uploads.
PD2
Contributor
Contributor
Author

Thanks. I will try it!
-Peter