The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FTP over TLS Stopped Working

Discussion in 'General Discussion' started by Ahmed Shibani, May 7, 2016.

  1. Ahmed Shibani

    Ahmed Shibani Registered

    Joined:
    May 7, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Tripoli
    cPanel Access Level:
    Root Administrator
    Hello;

    Since the last update to WHM 11.56.0.14, Users are unable to connect to FTP using TLS. This used to work before the update. Ports 3000-5000 are allowed in the firewall and PureFTPD is configured to use those port numbers for passive connections.

    This is the error from FileZilla
    Code:
    Status:    Resolving address of x.x.x
    Status:    Connecting to x.x.x.x:21...
    Status:    Connection established, waiting for welcome message...
    Status:    Initializing TLS...
    Error:    Connection timed out after 20 seconds of inactivity
    Error:    Could not connect to server
    Users are able to authenticates if they change FTP to use plain passwords.

    Here is the system information:
    Code:
    /etc/redhat-release:CloudLinux Server release 6.5 (Pavel Popovich)
    /usr/local/cpanel/version:11.56.0.14
    /var/cpanel/envtype:standard
    CPANEL=release
    Server version: Apache/2.4.18 (Unix)
    Cpanel::Easy::Apache v3.32.11 rev9999 +cloudlinux
    
    Has anyone faced this issue? Any recommendations on how to fix?

    Best Regards
     
  2. YanOri

    YanOri Registered

    Joined:
    Feb 29, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Try connecting through port 22.
     
  3. cliveaustin

    cliveaustin Registered

    Joined:
    Apr 23, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I have discovered exactly the same issue on my cPanel/WHM PureFTP server.
    This is the error I see when trying to connect using FileZilla ...

    Code:
    Status: Connecting to 192.168.0.101:21...
    Status: Connection established, waiting for welcome message...
    Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response: 220-You are user number 1 of 50 allowed.
    Response: 220-Local time is now 13:59. Server port: 21.
    Response: 220-This is a private system - No anonymous login
    Response: 220-IPv6 connections are also welcome on this server.
    Response: 220 You will be disconnected after 15 minutes of inactivity.
    Command: AUTH TLS
    Response: 234 AUTH TLS OK.
    Status: Initializing TLS...
    Error: Connection timed out after 20 seconds of inactivity
    Error: Could not connect to server
    
    ...but everything works normally as expected if I connect using "old fashioned" (insecure) FTP so I've had to disable FTP over TLS for the time being just to stop clients complaining. I'm pretty sure this is going to be a TLS handshake issue but it's got me stumped for now! Anyone got any pointers where I should start looking?
     
    #3 cliveaustin, May 9, 2016
    Last edited by a moderator: May 10, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page