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?

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch