on 11-28-2009 5:38 PM
Hi,
I am trying to use the file adapter to pick the file from FTP server however file adapter raised the following error:
Error occurred while connecting to the FTP server \"64.72.230.42:21\": java.net.ConnectException: Connection timed out: connect
I changed the timeout of the communication channel to 1200 but still getting this error after a minute.
The ftp server is working fine with my ftp client.
Could you please help me to fix this issue ?
Hi,
Have you checked the firewall settings & port for communication. Check with your admin guy if everythis is ok.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got the following message
"Processing finished successfully"
when the ftp folder did not have the required file. However as soon as i put the file start getting the same error message.
Even i delete the file from the ftp server but the error message does not change
any idea what is the cause of this behavior?
Thanks.
> I got the following message
> "Processing finished successfully" when the ftp folder did not have the required file.
Do you mean, the connection is ok when there is no file in the source directory.
>However as soon as i put the file start getting the same error message.
This could be then an authorization issue. Check if your source dir & file are having proper authorizations. Check with your BASIS guy.
> Even i delete the file from the ftp server but the error message does not change
The error message remains same for few mins. You can see the message in RWB in CC monitoring, it says error in last 10 mins or 15 mins etc.. So I don't think this is an issue. Probably the status message will change after few mins.
I got the following message
"Processing finished successfully" when the ftp folder did not have the required file.
Do you mean, the connection is ok when there is no file in the source directory.
Yes.
However as soon as i put the file start getting the same error message.
This could be then an authorization issue. Check if your source dir & file are having proper authorizations. Check with your BASIS guy.
I set the source directory to a folder name which does not exit on ftp server. now i am getting "The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /user038888888888888888/input: The system cannot find the path specified:"
So, do you think it is a problem of authorizations ? and if it is then how can i change it ? should i have to change the permissions of the folder on ftp server?
Thanks for your support. I really appreciate your help. I almost spend a whole day trying to fix this issue.
Regards,
Ehsaan.
> I set the source directory to a folder name which does not exit on ftp server. now i am getting "The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /user038888888888888888/input: The system cannot find the path specified:"
Thats true, you will get this error message since this directory does not exist. But what I wanted say is check if the valid folder (at FTP location) is having proper permissions for read/write/delete.
And secondly since your connection is ok then you should get some other error message rather getting an error message related with "connection error".
Thank you so much for your kind support.
I am using the same User credential for my ftp client as well as for the communication channel configuration. Also i configured source directory to '/' but still getting the same error.
I think ftp server is not responding within the defined timeout whenever file adapter request for a valid folder. And in this case timeout is occurred. Because of this I changed the Timeout parameter to '1200' seconds. But again got 'Connection timed out: connect' just after one minute.
I am unable to understand why I am getting the timeout error just after one minute where i set it to 1200 seconds?
Regards,
Ehsaan
Please advise.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can see the answer in this SAP Note 849089. AS per this note
An updated version of the SAP XI 3.0 / PI 7.0 File Adapter allows the configuration of a timeout for FTP sessions that will interrupt the channel's processing if the server has not sent any data for longer than a configurable amount of time.
In order not to break any existing scenarios, the configuration of this timeout requires the use of an advanced mode configuration parameter.
To configure a timeout for the FTP connection, please enable the "Advanced Mode" for the respective FTP communication channel in the Integration Directory and add an entry "ftp.timeout"=timeoutSecs
(without any quotation marks) to the "Additional Parameters" section, where timeoutSecs is the desired FTP timeout in seconds.
So probably you if you will not use this FTP connection timeout in Advance mode under Additional Parameters then you will not get this error.
Hence as per the SAP note this is not an issue.
I hope this answers your question.
Regards,
Sarvesh
Hi,
Check the network latency if there is any issues with the network...during that time
also change the connection mode to per File Transfer from permanent in adapter properties...
HTH
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.