cancel
Showing results for 
Search instead for 
Did you mean: 

FTP adapter time out connection

Former Member
0 Kudos

Hello,

I'm trying to send a file with a receiver ftp comunication channel and I obtain the following log in the runtime workbench monitor:

Time Stamp Status Description

2008-05-08 18:41:51 Success Message successfully received by messaging system. Profile: XI URL: http://gestsapxid:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER

2008-05-08 18:41:51 Success Using connection AFW. Trying to put the message into the receive queue.

2008-05-08 18:41:51 Success Message successfully put into the queue.

2008-05-08 18:41:51 Success The message was successfully retrieved from the receive queue.

2008-05-08 18:41:51 Success The message status set to DLNG.

2008-05-08 18:41:51 Success Delivering to channel: FILE_OCHOA_RECEIVER_FTP

2008-05-08 18:41:51 Success File adapter receiver: processing started; QoS required: ExactlyOnce

2008-05-08 18:41:51 Success File adapter receiver channel FILE_OCHOA_RECEIVER_FTP: start processing: party " ", service "ESMAR_OCHOA"

2008-05-08 18:41:51 Success Connect to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar"

2008-05-08 18:41:51 Success Write to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar", file "ochoa20080508_0000000006166839"

2008-05-08 18:41:51 Success Transfer: "TXT" mode, size 412 bytes, character encoding UTF-8

2008-05-08 18:42:12 Error Attempt to process file failed with Connection timed out: connect

2008-05-08 18:42:12 Error Delivery of the message to the application using connection AFW failed, due to: Connection timed out: connect.

2008-05-08 18:42:12 Error Exception caught by adapter framework: Connection timed out: connect

2008-05-08 18:42:12 Success The asynchronous message was successfully scheduled to be delivered at Thu May 08 18:47:12 CEST 2008.

2008-05-08 18:42:12 Success The message status set to WAIT.

I have tested to put a file (with the same FTP parameters) from the promt of the xi server operating system and all works fine. can someone help me to find why the time out connection happens?.

Thank you very much

Alberto.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I have changed the value of the communication channel parameter "Data connection" to "Active" and now It works ok. do you know what influence this parameter has?.

Alberto

GabrielSagaya
Active Contributor
0 Kudos

/people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang

I think the error is XI is not able to connect the ftp server. Check pinging the ftp server from XI server.

Former Member
0 Kudos

I have tested in the xi server: run->cmd->ping nnn.nnn.nnn.nnn and I don't reach the ftp server but if I test in the xi server: run->cmd->ftp nnn.nnn.nnn.nnn and introduce the user and password then I log in without problem and I can put the file in the remote directory.

If you see in the log above:

2008-05-08 18:41:51 Success Connect to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar"

2008-05-08 18:41:51 Success Write to FTP server "NNN.NNN.NNN.NNN", directory "/ochoaesmar", file "ochoa20080508_0000000006166839"

2008-05-08 18:41:51 Success Transfer: "TXT" mode, size 412 bytes, character encoding UTF-8

2008-05-08 18:42:12 Error Attempt to process file failed with Connection timed out: connect

the first 3 steps are ok. If the ftp was down or if credentials was wrong other error will be generated.

Thank you very much.

Alberto

Former Member
0 Kudos

Hi,

Yes from the message it seems that it is connected to FTP server but after that it is showing connection time out.

Check the directory path as may be it is not able to find out the directory path in the file adapter also check the read write access rights on directory for that user which is used in file adapter.

chirag

Edited by: Chirag Gohil on May 8, 2008 10:53 PM

Former Member
0 Kudos

HI,

Is ur FTP server is down check the same.

Try to check it with run> cmd> type ping ip address of FTP server.

Check the file adapter directory path, server name and login credentials.

r u using any firewall in between?

chirag