Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Recently we upgrade talend5.4 to talend 6.3,also jdk1.6 to 1.8.
After upgrading, old jobs with ftp components cannot work,neither 6.3 nor 5.4.
When I roll back to jdk 1.6 , it works fine in talend 5.4 as 6.3 can't run in jdk1.6.
Have you ever meet this issue? Thanks for any suggestion.
Here is the error message:
Exception in component tFTPFileList_1
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:102)
at com.enterprisedt.net.ftp.FTPControlSocket.<init>(FTPControlSocket.java:355)
at com.enterprisedt.net.ftp.FTPClient.connect(FTPClient.java:958)
at 
Does anyone meet this problem before?
I tried kinds of methods,but no one works.
stop firewall,change proxy,change java version...
Hello,
This exception occurs if no TCP connection can be established. Could you please check if the host name or IP address is Ok?
Could you connect to this FTP server from command line? What's your Connection Mode? Passive or Active?
Best regards
Sabrina
Thanks @xdsh
When I roll back to jdk 1.6 , it works fine in talend 5.4 as 6.3 can't run in jdk1.6.
I can connect to ftp server via filezilla.
here will be a connection issue just when i changed jdk to 1.8
Hi,
Are you using open studio or subscription solution? Did you execute the imported ftp job (created on V 5.4) on V 6.3? Is it Ok with you when create a new ftp job on your V 6.3?
Best regards
Sabrina
Hi @xdshi
I am using open studio.
I create a new ftp job on V6.3. But not work.
by the way,I found something new.
I have two test server (A,B),both have talend6.3 installed.
It failed at server A(US server),but success at server B(CN server).
Both have same jdk.
Hello,
Is your network Ok with you? Any limitation? For your server A, are you behind proxy?
Best regards
Sabrina
Hi
Network is ok.
Yes,we use a proxy.But I have tried setting socks proxy,not work.
Hi,
From your description, the talend FTP job should be Ok without error.
We suppose that there is something wrong with your network setting for FTP server(server A). Can you connect to your FTP server through command without using talend tool?
Best regards
Sabrina