Article ID: 127335, created on Nov 4, 2015, last review on Apr 8, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux


FTP connection over TLS failed with the following error in /var/log/plesk/ftp_tls.log:

2015-11-04 15:14:15,931 mod_tls/2.6[618]: TLS/TLS-C requested, starting TLS handshake
2015-11-04 15:14:36,868 mod_tls/2.6[618]: unable to accept TLS connection: received EOF that violates protocol
2015-11-04 15:14:36,868 mod_tls/2.6[618]: TLS/TLS-C negotiation failed on control channel


This behavior is usually be observed if the server is behind a router or firewall that inspects packets on the default port 21(for example ISA does not support FTP with TLS)


There are two possible solutions:

  • Disable filtering on the router/firewall/ISA server for 21 port.

  • Change ftp port in /etc/services to another (for example to 2121)

    1. Open /etc/services using 'vi' and change the port for ftp to 2121 for both tcp/udp protocols.

      # vi /etc/services
    2. It should look like the following:

      # cat /etc/services  | grep 2121 | grep ftp
      ftp             2121/tcp
      ftp             2121/udp
    3. Restart xinetd service

      # service xinetd restart
    4. Check the FTP connection using new port.

Search Words

FTP TLS Problem

unable to accept TLS connection: received EOF that violates protocol

received EOF that violates protocol

FTP session closed

742559b1631652fadd74764ae8be475e 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 e335d9adf7edffca6a8af8039031a4c7 2a5151f57629129e26ff206d171fbb5f

Email subscription for changes to this article
Save as PDF