• Hello!

    since 3 days, BackWPup is not transferring to my FTP Server anymore. This could be a server specific problem, because on my other wordpress sites everything works fine.

    On this server we use PHP 7.0 (same as on the other servers).

    I was hoping to get any further information inside the log file, but it only says this:

    ...
    [05-Feb-2017 11:33:09] Backup wurde erstellt.
    [05-Feb-2017 11:33:09] Archivgr??e ist 338,46 KB
    [05-Feb-2017 11:33:09] 3 Dateien mit 2,27 MB im Archiv.
    [05-Feb-2017 11:33:09] Eine Sicherungsdatei gel?scht
    [05-Feb-2017 11:33:09] 1. Versuche, Backup an FTP-Server zu senden …
    [05-Feb-2017 11:33:09] FEHLER: Kann nicht mit dem FTP-Server verbinden: eigenstil.de:21
    [05-Feb-2017 11:33:09] 2. Versuche, Backup an FTP-Server zu senden …
    [05-Feb-2017 11:33:09] FEHLER: Kann nicht mit dem FTP-Server verbinden: eigenstil.de:21
    [05-Feb-2017 11:33:09] 3. Versuche, Backup an FTP-Server zu senden …
    [05-Feb-2017 11:33:09] FEHLER: Kann nicht mit dem FTP-Server verbinden: eigenstil.de:21
    [05-Feb-2017 11:33:09] FEHLER: Schritt abgebrochen: zu viele Versuche!
    [05-Feb-2017 11:33:09] FEHLER: Job mit Fehlern beendet in 1 Sekunden. Um eine korrekte Ausführung zu gew?hrleisten, musst du die Fehler beheben.

    I already tried to tick the “explicit SSL-FTP” option, but to no success.

    And I already double-checked the credentials and even tried to add a completly new ftp-user with no success. I’m kind of lost, because on 5 other sites this works with the exact same settings/credentials.

    Do you have any advice for me? Is there an option to output more information on the connection error?

Viewing 15 replies - 1 through 15 (of 24 total)
  • Here exactly the same. The only difference is that this site operates under https.

    Clicking “explicit SSL-FTP” option, but also no success. Php version 7.0

    Try change back to php version 5.6 but no luck.

    On other sites with php version 5.6 it works correct.

    SFTP isn’t working for me either.

    I’ve tried multiple servers running different versions of PHP. With explicit ftp turned on, and off, and passive turned on and off. The FTP server I’m trying to connect to is working fine as I tested using FTP clients. What am I missing? The log error is suitably vague, “ERROR: Cannot connect to FTP server:” so that’s not very helpful in figuring out the problem.

    Even under version 3.3.7 there is one site where this error occurs.

    The only difference is that the sites where it is operating correctly have https://
    The site where it does not work has https://

    Anyone have an idea to solve this?

    @eigenstil I’m very sorry about the late reply. Are you still experiencing this issue? If so, can you let me know what might have changed when the issue started happening?

    @terry789, I just tested this on an https site, and it worked fine for me. Are you still having the same issue?

    Thread Starter eigenstil

    (@eigenstil)

    hey @cocreation

    thanks for your answer. actually I can’t tell you, what has changed. I did’nt change anything intentionally on the server. maybe the hoster changed something, but I don’t know how to tell that.

    It worked for quite a while now. But 3-5 days ago the message started showing again.

    Any thoughts/ideas?

    @cocreation

    Yes, this problem still exists. If I make a backup in a folder on the same server as the website, it works correctly. A backup to my NAS does not work. Other similar websites do work and make a backup to my NAS.

    I just tested this on an https site, and it worked fine for me.

    What are your settings?

    @terry789, I kept passive mode enabled, port 21, and didn’t have SSL checked.

    @eigenstil, thanks for the additional information.

    Would either of you be willing to submit a ticket giving temporary access to your FTP server and WP admin? The log as you have seen is incredibly vague, and it would require more direct debugging. If you could send an email to [email protected], I’ll make sure I take the ticket.

    Thread Starter eigenstil

    (@eigenstil)

    @cocreation sure, I’ll send you an e-mail!

    Thanks @eigenstil. I’ve taken the ticket so hopefully we can resolve it there. ??

    @terry789, I’ve narrowed down @eigenstil’s issue. I don’t know if it is the same for you though.

    Are you getting exactly the same error? Are you able to post part of your log with the error in it?

    BackWPup just uses the PHP FTP functions, so if it fails connecting, it means that ftp_connect failed. Generally that’s not going to be an issue with BackWPup. But I’ll have to see your logs to be sure of your specific situation.

    @cocreation
    it seems to me the same. See the code here:

    [24-Apr-2017 21:34:22] Backup archive created.
    [24-Apr-2017 21:34:22] Archive size is 40,18 MB.
    [24-Apr-2017 21:34:22] 5915 Files with 102,14 MB in Archive.
    [24-Apr-2017 21:34:37] 1. Try to send backup file to an FTP server …
    [24-Apr-2017 21:34:37] ERROR: Cannot connect to FTP server: xxxxxxxxxx:21
    [24-Apr-2017 21:34:37] 2. Try to send backup file to an FTP server …
    [24-Apr-2017 21:34:37] ERROR: Cannot connect to FTP server: xxxxxxxxxx:21
    [24-Apr-2017 21:34:37] 3. Try to send backup file to an FTP server …
    [24-Apr-2017 21:34:37] ERROR: Cannot connect to FTP server: xxxxxxxxxx:21
    [24-Apr-2017 21:34:37] ERROR: Step aborted: too many attempts!
    [24-Apr-2017 21:34:37] 1. Trying to check database …
    [24-Apr-2017 21:34:37] Database check done!
    [24-Apr-2017 21:34:37] ERROR: Job has ended with errors in 195 seconds. You must resolve the errors for correct execution.

    Thanks @terry789. Can you try testing another FTP server and see if it works?

    Otherwise check if your host blocks outgoing connections, especially on port 21.

    @cocreation,
    ok, I will try that tomorrow. It is here late now ??

    @cocreation,
    sorry for the delay.

    Can you try testing another FTP server and see if it works?

    On another FTP server, it works correctly.

    The server where it does not work is also used for other backups (with BackWPup) who do work.
    Any other suggestion?

    Good day,
    I use the BackWPup plugin across 7 different sites (I am a website administrator) and recently all of them started giving me this issue. 3 of the sites are SSL and running PHP7, 4 of them are not secured and running PHP5.6
    On all of them the same happens.
    This is the error when using domain name:

    WARNING: ftp_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known
    [30-Apr-2017 03:33:37] ERROR: Cannot connect to FTP server: **Domain removed**:21

    And without domain name (so only the IP Address):

    1. Try to send backup file to an FTP server …
    [30-Apr-2017 05:00:32] ERROR: Cannot connect to FTP server: 84.245.15.8:21
    [30-Apr-2017 05:00:32] WARNING: mysqli_ping(): MySQL server has gone away

    I am no longer able to do any backups on any of my websites. Any idea on what is going on? I understand that with PHP7 that when using the PHPMail() if the SSL/TLS certificate is not installed properly on the mail server it can give an error. Is BackWPup suffering from the same issue? And why is this also happening on the PHP5.6 with no SSL?

    • This reply was modified 7 years, 7 months ago by siniztr.
Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘FTP: Cannot connect to FTP Server (without further information)’ is closed to new replies.