Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
Was wondering if someone could please help me. I'm trying to connect to a host using tFTP, it works for me with WinSCP, but not in Talend where it gives me this error:
Exception in component tFTPConnection_1
com.jcraft.jsch.JSchException: java.net.ConnectException: Connection timed out: connect
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 sam.sam_0_1.SAM.tFTPConnection_1Process(SAM.java:465)
at sam.sam_0_1.SAM.runJobInTOS(SAM.java:1199)
at sam.sam_0_1.SAM.main(SAM.java:1015)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at com.jcraft.jsch.Util.createSocket(Util.java:343)
... 5 more
I've looked into a lot of similar threads that usually say it's my firewall and port. But I've already opened both up. Any ideas on what to do? Appreciate it.
Hi,
Could you please indicate on which talend build version you got this issue? Your current job design screenshots will be preferred.
Best regards
Sabrina
Hi Sabrina,
I'm using Talend ver 5.6.1.
This is my current job designed. I'm more or less just trying to get files from the host site. But it always dies on the first instance.
Sincerely,
Aya
Hello,
It seems there is issue with your ftp connection.Try validating your ftp connection. If it successful then further your component will work accordingly and will get the required files from host to your destination.
Hope this solves your purpose.
Regards
Ganshyam Patel
Is this fix?