Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Dewey
Contributor III

SFTP works on Desktop but not on server.

I am out of ideas...I have on SFTP job that works fine on my desktop but times out when run on the server.

The server can be reached using FileZIlla from both desktop and server.

Telnet can reach the server from either..

Timeout is set to 999000 in the job.

The job produces this error on server.

Exception in component tFTPFileList_1 (testC2FO_sftp)

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 sap.testc2fo_sftp_0_1.testC2FO_sftp.tFTPFileList_1Process(testC2FO_sftp.java:3190)

    at sap.testc2fo_sftp_0_1.testC2FO_sftp.runJobInTOS(testC2FO_sftp.java:9395)

    at sap.testc2fo_sftp_0_1.testC2FO_sftp.main(testC2FO_sftp.java:8824)

0695b00000fL1rqAAC.png

Labels (2)
1 Reply
Anonymous
Not applicable

Hello @David Helsley​ ,

Regarding to the error log, the problem is that the server which running the job can not connect to the sftp server.

Could you please check with your IT to whitelist the server machine in the firewall of the sftp server?

 

Best regards

Aiming