tFTP Connection Error

Four Stars

tFTP Connection Error

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.

Moderator

Re: tFTP Connection Error

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

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: tFTP Connection Error

Hi Sabrina, 

 

I'm using Talend ver 5.6.1.

 Job.PNG

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

Seven Stars

Re: tFTP Connection Error

Tried yo put another ftp component. tFTPClose
Seven Stars

Re: tFTP Connection Error

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.

 

ftp_connection.PNG

 

Hope this solves your purpose.

 

Regards

Ganshyam Patel

Seven Stars

Re: tFTP Connection Error

Is this fix?

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.