Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

520 Unexpected reply codeControl connection prematurely closed by server

Hi,

I'm getting an error while configuring a FTPS connection to a remote server. Connection to this server using WS_FTP works fine, hence I know that the certificates and login information is correct. The error I'm receiving is:

Channel FTPS_Sender: Error connecting to ftp server 'ftps***.*******.***': com.sap.aii.adapter.file.ftp.FTPEx: 520 Unexpected reply codeControl connection prematurely closed by server

Below is a screenshot from the java log files. Any ideas on how to proceed here are very much appreciated.

The logging on the FTPS server is the following:

HtcNUo/ZggY            20130816 093911 101 FTP   I TRACE       0000

55534552 20663030 30333238 39       [USER *********]

HtcNUo/ZggY            20130816 093911 300 SUP   E TLS_ERR

$**********(71320106) Site sprof check failed(30)

Code 30 means: The common name of the certificate received does not match the one set in the Subject certificate alias field of the Site

Former Member
replied

Update: We tested together with SAP for three month. Now, we got a test-patch from SAP and it works with this test-patch. SAP will provide a official patch for PI 7.11 in the next two weeks.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question