problem in ftp- Could not read from socket: ECONNABORTED - Connection aborted

Discussion in 'Installation/Configuration' started by shahad, Jul 27, 2020.

  1. shahad

    shahad New Member

    Hi

    I use "Ubuntu 18.04.4 LTS (Bionic Beaver)) ISPConfig 3.1.15p3"
    but I have a problem in ftp connect, here is the complete log from FileZilla:

    Code:
    Status:          Resolving address of server.?????.com[/B]
    [B]Status:          Connecting to ???.??.??.???:21...
    Status:          Connection established, waiting for welcome message...
    Status:          Initializing TLS...
    Status:          Verifying certificate...
    Status:          TLS connection established.
    Command:    USER admin_****
    Error:            Could not read from socket: ECONNRESET - Connection reset by peer
    Error:            Could not connect to server
    Status:          Waiting to retry...
    Status:          Resolving address of server.?????.com
    Status:          Connecting to ???.??.??.???: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 22:01. 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...
    Status:          Verifying certificate...
    Status:          TLS connection established.
    Command:    USER admin_****
    Error:            GnuTLS error -110 in gnutls_record_recv: The TLS connection was non-properly terminated.
    Status:          Server did not properly shut down TLS connection
    Error:            Could not read from socket: ECONNABORTED - Connection aborted
    Error:            Could not connect to server


    I get the same error in active and passive FTP. I can connect the server only when I use (plain FTP) encryption.

    any help please?
     
    Last edited: Jul 27, 2020
  2. shahad

    shahad New Member

    Code:
    https://www.faqforge.com/linux/controlpanels/ispconfig3/how-to-set-the-passiveportrange-in-pure-ftpd-on-denian-and-ubuntu-linux/
    I tried to do the steps in this tutorial:
    but I don't know the external IP, Or how can I get it.
     
  3. nhybgtvfr

    nhybgtvfr Active Member

    the external ip is the public ip of the server/domain name you're trying to connect to. or a firewall/load-balancer in front of that server.
    ping or nslookup of the fqdn should give you the public ip address.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please try to use a different FTP client, might be that you just ran into an incompatibility between latest FileZilla version and the pure-ftpd version that ships with Ubuntu 18.04.
     
  5. shahad

    shahad New Member

    thank you for your reply

    I used FileZilla before with the same server and it worked fine (the control panel was VestaCP), but when I switched to Ispconfig 3 as a control panel I get this problem
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    As mentioned above, your issue is most likely not related to ISPConfig, its an issue between a specific FileZilla version in conjunction with a specific pure-ftpd version. So if you want to find a solution for your issue, then please do what I suggested.
     
  7. shahad

    shahad New Member

    problem is solved. Thank you Mr. Till
    I use "Transmit" and it works fine.
    Any suggestions about the best FTP client for macOS ?
     

Share This Page