WARNING: ftp_nb_fput(): php_connect_nonb() failed: Operation now in progress (11
-
Having an issue with connecting with explicit FTP over SSL.
It works in passive mode in plain FTP, however when i try to configure for explicit FTP it is unable to get past the passive mode.
[INFO] BackWPup 3.6.0; A project of Inpsyde GmbH [INFO] WordPress 4.9.8 on https://www.x.ca/ [INFO] Log Level: Debug [INFO] BackWPup job: FTP Backup; WPPLUGIN [INFO] Runs with user: (0) [INFO] BackWPup no automatic job start configured [INFO] BackWPup job started manually [INFO] PHP ver.: 5.6.37 (64bit); cgi-fcgi; Linux [INFO] Maximum PHP script execution time is 30 seconds [INFO] Script restart time is configured to 300 seconds [INFO] MySQL ver.: 5.6.32-78.1 [INFO] Web Server: Apache [INFO] curl ver.: 7.19.7; NSS/3.27.1 [17-Sep-2018 16:00:30] 1. Trying to generate a file with installed plugin names … [17-Sep-2018 16:00:30] Added plugin list file "pluginlist.2018-09-17.txt" with 4.64 KB to backup file list. [17-Sep-2018 16:00:30] 1. Trying to generate a manifest file … [17-Sep-2018 16:00:30] Added manifest.json file with 7.96 KB to backup file list. [17-Sep-2018 16:00:30] 1. Trying to create backup archive … [17-Sep-2018 16:00:31] Compressing files as ZipArchive. Please be patient, this may take a moment. [17-Sep-2018 16:00:31] Adding Extra files to Archive [17-Sep-2018 16:00:31] Backup archive created. [17-Sep-2018 16:00:31] Archive size is 4.26 KB. [17-Sep-2018 16:00:31] 3 Files with 12.83 KB in Archive. [17-Sep-2018 16:00:31] 1. Try to send backup file to an FTP server … [17-Sep-2018 16:00:31] Connected via explicit SSL-FTP to server: 207.x.x.x:21 [17-Sep-2018 16:00:31] FTP client command: USER bob [17-Sep-2018 16:00:32] FTP server response: User bob logged in. [17-Sep-2018 16:00:32] FTP client command: SYST [17-Sep-2018 16:00:32] FTP server reply: UNIX [17-Sep-2018 16:00:32] FTP current folder is: / [17-Sep-2018 16:00:32] FTP client command: PASV [17-Sep-2018 16:00:32] FTP server reply: Entering passive mode [17-Sep-2018 16:00:32] Starting upload to FTP … [17-Sep-2018 16:02:02] WARNING: ftp_nb_fput(): php_connect_nonb() failed: Operation now in progress (115) [17-Sep-2018 16:02:02] WARNING: ftp_nb_fput(): Entering Passive Mode (207,81,171,20,195,185) [17-Sep-2018 16:02:02] ERROR: Cannot transfer backup to FTP server!
It gets stuck in passive mode forever when I do not do plain FTP. I have configured the ports 21, 990, and 50000-51000 in both my network and computer firewall.
I have read articles about NAT firewalls and it may apply to me, but I have configured my network with filezilla to work on my external IP and on the custom port 50000-51000. A popular article on this topic is https://www.elitehosts.com/blog/php-ftp-passive-ftp-server-behind-nat-nightmare/ which seems to apply to me but I am unsure if I am able to do anything on my end at the server.
I’ve tested this on ftptest.net which returns positive for passive mode and explicit TLS.
- The topic ‘WARNING: ftp_nb_fput(): php_connect_nonb() failed: Operation now in progress (11’ is closed to new replies.