Unable to create a Plesk scheduled backup to a remote FTP storage: Curl error: Unable to resume an interrupted download: (28) Timeout was reached

Follow

Comments

2 comments

  • Avatar
    Georgy Sokolov (Edited )

    Add the line below under the [pmm] section:
    ftpForbidReuseConnection = 1

    Add the following line in the <Global> section of the /etc/proftpd.conf file:
    AllowStoreRestart on

    But the error occurs periodically:
    Unable to create remote backup. Error: Unable to export backup: Transport error: unable to list directory: Curl error: (28) Timeout was reached: Last FTP request: PASS ***** Last FTP response: 331 Password required for ftp_login

    What and where is wrong in the settings?

    After Timeout 30s
    INFO: pmm-ras finished. Exit code: 126

    INFO: pmm-ras finished. Exit code: 0

     

    1
    Comment actions Permalink
  • Avatar
    Tommy TBones Cramer

    I made this edit and still did not connect to ftp server. My local server is Ubuntu20.04 and VSFTP is enabled and working. I can login and upload files but Plesk continues to refuse to connect.
    curl -v --ftp-pasv --ssl -k -u tbones 'ftp://xxx.xxx.xxx.xxx/vhost/backup/'
    Enter host password for user 'tbones':
    * Trying xxx.xxx.xxx.xxx:21...
    * Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 21 (#0)
    < 220 (vsFTPd 3.0.3)
    > AUTH SSL
    < 234 Proceed with negotiation.
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
    * TLSv1.3 (OUT), TLS handshake, Client hello (1):
    * TLSv1.3 (IN), TLS handshake, Server hello (2):
    * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
    * TLSv1.3 (IN), TLS handshake, Request CERT (13):
    * TLSv1.3 (IN), TLS handshake, Certificate (11):
    * TLSv1.3 (IN), TLS handshake, CERT verify (15):
    * TLSv1.3 (IN), TLS handshake, Finished (20):
    * TLSv1.3 (OUT), TLS handshake, Certificate (11):
    * TLSv1.3 (OUT), TLS handshake, Finished (20):
    * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
    * Server certificate:
    * subject: C=US; ST=Illinois; L=Chicago; O=440Music Entetinament Co; OU=Studio; CN=home.440music.net; emailAddress=admin@440music.com
    * start date: Nov 16 06:21:57 2021 GMT
    * expire date: Nov 14 06:21:57 2031 GMT
    * issuer: C=US; ST=Illinois; L=Chicago; O=440Music Entetinament Co; OU=Studio; CN=home.440music.net; emailAddress=admin@440music.com
    * SSL certificate verify result: self signed certificate (18), continuing anyway.
    > USER tbones
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    * old SSL session ID is stale, removing
    < 331 Please specify the password.
    > PASS xxxxxxxxx
    * TLSv1.3 (OUT), TLS alert, protocol version (582):
    * OpenSSL SSL_read: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, errno 0
    * Closing connection 0
    curl: (56) OpenSSL SSL_read: error:1408F10B:SSL routines:ssl3_get_record:wrong version number, errno 0

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request