Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFTPConnection Operation timed out (Connection timed out) - Working fine in FileZilla

0683p000009M3Td.png

 

Created certificate following these steps 

 

keytool -keystore clientkeystore -genkey -alias client -keystore local_keystore.jks
keytool -importkeystore -srckeystore local_keystore.jks -destkeystore local_keystore.jks -deststoretype pkcs12
openssl s_client -connect 37.97.69.116:21 -starttls ftp </dev/null 2>/dev/null |openssl x509 -outform PEM > ftp_server.pem
openssl x509 -inform PEM -in ftp_server.pem -outform DEF -out ftp_server.cer
keytool -import -file ftp_server.cer -keystore local_keystore.jks

 

0683p000009M3Tn.png

 

 

Error 

 

[statistics] connecting to socket on port 3606

[statistics] connected

Exception in component tFTPConnection_1 (jobv1)

java.net.ConnectException: Operation timed out (Connection timed out)

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

at java.net.Socket.connect(Socket.java:589)

at org.apache.commons.net.SocketClient._connect(SocketClient.java:243)

at org.apache.commons.net.SocketClient.connect(SocketClient.java:202)

at pwc_projects.jobv1_0_1.jobv1.tFTPConnection_1Process(jobv1.java:444)

at pwc_projects.jobv1_0_1.jobv1.runJobInTOS(jobv1.java:1149)

at pwc_projects.jobv1_0_1.jobv1.main(jobv1.java:1000)

[statistics] disconnected

 

Labels (3)
10 Replies
B_Zondi
Contributor
Contributor

I am experiencing the same issue, trying to connect to an FTP server through port 990 but connection times out.

I have tested with SFTP support settings and with out these settings, changed connection mode from Active to Passive but none of those changes helped. Also changed the encoding but this also did not help.

 

I can connect to the destination server using WinSCP and it connects successfully but not through talend.

I am using talend version 7.3.1

 

 

Exception in component tFTPConnection_1 (ImportDirectDataJSE_Bonds_UTMTMTPlus1)

com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out

at com.jcraft.jsch.Session.connect(Session.java:565)