Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Vivi2
Contributor III
Contributor III

tFTPConnection error

Hello, 
I have a job which connect to salesforce so I use Talend6.1.0 with jdk 8 (Tls 1.0 enabled). 
However with jdk 8 I have error on  tFTPConnection components (with jdk7 it works): 
Exception in component tFTPConnection
com.jcraft.jsch.JSchException: java.net.UnknownHostException: sftp.proxy
        at com.jcraft.jsch.Util.createSocket(Util.java:349)
        at com.jcraft.jsch.Session.connect(Session.java:215)
        at com.jcraft.jsch.Session.connect(Session.java:183)
        at test.jov.jov.tFTPConnection_2Process(jov.java:1101)
        at test.jov.jov.tJava_8Process(jov.java:963)
        at test.jov.jov.tFileList_1Process(jov.java:850)
        at test.jov.jov.tJava_2Process(jov.java:659)
        at test.jov.jov.runJobInTOS(jov.java:3124)
        at test.jov.jov.main(jov.java:2956)
Caused by: java.net.UnknownHostException: sftp.proxy
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at java.net.Socket.<init>(Socket.java:434)
        at java.net.Socket.<init>(Socket.java:211)
        at com.jcraft.jsch.Util.createSocket(Util.java:343)
        ... 8 more
2016-07-18 08:43:49|VWf7DW|VWf7DW|VWf7DW|test|jov|Default|6|Java Exception|tFTPConnection_2|com.jcraft.jsch.JSchException:java.net.UnknownHostException: sftp.proxy|1

Thanks. 
Labels (4)
9 Replies
Anonymous
Not applicable

Hi,
Could you please upload your tFTPConnection component setting screenshot into forum? Are you using talend open studio?
Have you tried to use Talend 6.2.1 to see if it works?
Best regards
Sabrina
Vivi2
Contributor III
Contributor III
Author

Hi, 
Please find attach the screenshot. 
In fact we run the batch file ".bat".
With jdk7  it works but with jdk8 it does not work.
Anonymous
Not applicable

Hi,
Are you using jre 1.8.0_92? Have you tried to use Talend 6.2.1 to see if it works?
Best regards
Sabrina
Vivi2
Contributor III
Contributor III
Author

Hi, 
here is the java version :
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
Anonymous
Not applicable

Hi,
 There is some issue with jre 1.8.0_9. Could you please check it with 1.8.0_51?
Have you tried to use Talend 6.2.1 to see if it works? We cannot repro your issue on other side.
Best regards
Sabrina
Vivi2
Contributor III
Contributor III
Author

Hi, 
it doesn't work. Do you have an other solution? 
One point, there is no paramater for Authentication method (to use public key or password) on the TFtpConnection. Is that it could be the cause? 
Anonymous
Not applicable

Hi,
Could you please take a look at this forum: https://community.talend.com/t5/Design-and-Development/resolved-tFTPConnection-configuration-as-FTP-... to see if it works for your case?
Best regards
Sabrina
Anonymous
Not applicable

Hi,

could you please help me to understand is there a way to connect UNIX machine from Windows using UID/PWD for FTP File Transfer from Windows machine to UNIX machine...?

 

Thanks In Advance,

 

Anonymous
Not applicable

Hello @madhu913 ,

Would you mind giving us a bit more information about your job requirement and background? Are you trying to transfer data in FTP server by air?

Best regards

Sabrina