From Thursday, July, 9, 3:00 PM Pacific,
our Community site will be in
read-only mode
through Sunday, July 12th.
Thank you for your patience.

Issue with tFTPConnection component

Highlighted
Six Stars

Issue with tFTPConnection component

Hello,
I want to establish SFTP connection to a external server using tFTPConnection component in talend job, details below:
port: 12922
Authentication method: public key (using password and open SSH private key both)
I am able to connect to that server with WinScp tool using same details but when connecting via talend job I am getting error as below. This means there cannot be any issue with firewall port or IP addresses of source and destination servers. Is it so that tFTPConnection component only supports port 22 generally used for SFTP?

Exception in component tFTPConnection_1
com.jcraft.jsch.JSchException: Auth cancel
  at com.jcraft.jsch.Session.connect(Session.java:460)
  at com.jcraft.jsch.Session.connect(Session.java:154)
  at finance_coda.ftp_test1_0_1.FTP_test1.tFTPConnection_1Process(FTP_test1.java:1176)
  at finance_coda.ftp_test1_0_1.FTP_test1.runJobInTOS(FTP_test1.java:1678)
  at finance_coda.ftp_test1_0_1.FTP_test1.main(FTP_test1.java:1501)

Any urgent help in this regard would be really helpful. PFB screenshot of tFTPConnection component properties.
Highlighted
Four Stars

Re: Issue with tFTPConnection component

Hi
Can u please share your job design?
I am sharing my connection details with you

Port 22
Regards
SB
Highlighted
Moderator

Re: Issue with tFTPConnection component

Hi,
Did you use the same credentials for WINSCP tool? Are you using Public Key authentication types in tFTPConnection?
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.
Highlighted
Six Stars

Re: Issue with tFTPConnection component

Hi Sabrina,
Yes I used the same credentials in Winscp tool.
Yes I am using public key authentication type in tFTPConnection. We are working on Talend 5.6 version.
@Swapnil, I am using port 12922 for SFTP and Authentication method is Key based.
I have attached screenshot for tFTPConnection component.
Highlighted
Four Stars

Re: Issue with tFTPConnection component

I am getting a similar issue when running a job on the cloud. The job works fine in Studio.

 

Exception in component tFTPPut_2 (Customer_Master_DB__intoPricefx) com.jcraft.jsch.JSchException: Auth cancel

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog