cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File Adapter: FTPS Error

Former Member
0 Kudos

On sending a text file to a trading partner the log in the communication channel shows the following:

Connecting to FTP server - success

Write to FTP server - success

Transfer: "TXT" mode - success

Exception caught by adapter framework:connection timed out - Error

The FTP connection Parameters have:

Data connection = Passive

Connection security = FTPS (FTP using SSL/TLS)

Command order AUTH TLS, USER, PASS, PBSZ, PROT

Use of X509 cert for Client Authentication is checked

Keystore = service_ssl

x.509 Cert and private key = *******.crt

When I look in the NWA logs for default trace I see several messages with the text "Rolling back transaction for message..." plus a FILE_ERR_211

What is a FILE_ERR_211?

Thanks

Mark

Accepted Solutions (0)

Answers (3)

Answers (3)

JaySchwendemann
Active Contributor
0 Kudos

I also had this error and it seems to turn out that it was connected to...

  1. Having the FTPS server set up for implicit encryption, which is not supported by SAP PI 7.0 (other versions may vary)
  2. Specifying the wrong port in the communication channel (some 9XX port) instead of port 21 which you want to use if you using explicit encryption.

Cheers

Former Member
0 Kudos

I did not add the timeout expression as I found out I didn't have to:

By doing the following two things seemed to resolve the issue:

- SSL Cert and Trusted CA cert from Trading Partner chain together. Cert used to sign the SSL Cert placed in Trusted CA view.

- as using FTPS in Passive mode make sure that not only port 21 but the higher port range for the data connectin is added to the Firewall rules.

Thank you for replying

Former Member
0 Kudos

hi mark,

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.

regards

kummari

Former Member
0 Kudos

Hi Kummari,

So is a FILE_ERR_211 error a timeout connection error.

Thanks

Mark

Former Member
0 Kudos

hi mark

Is the error repeating after increasing the time out value

regards

kummari