Support

Akeeba Backup for Joomla!

#12867 Upload to remote FTP server (FTPS / implicit SSL), not working

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Wednesday, 04 July 2012 01:23 CDT

user65904
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes, "Chapter 4. Moving the backup off-site"
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes (Upload to remote FTP Server, at https://www.akeebabackup.com/documentation/akeeba-backup-documentation/data-processing-engines.html#postproc-ftp)
Joomla! version: 1.5.26
PHP version: 5.3.13
MySQL version: 5.1.53
Host: DreamHost
Akeeba Backup version: 3.4.3 Pro

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

I'm trying to configure Akeeba Backup Pro's post-processing to upload to a remote FTP server (using FTPS: FTP over implicit SSL), an FTP server I manage. I've tried both vsftpd and proftpd (configured to support accept TLSv1 or SSLv3). I'm trying to use a passive connection. When I test the connection, I see an error indicating the host name or port are incorrect. If I temporarily turn off SSL/TLS on the server and test Akeeba using plain FTP (same settings otherwise), the test is successful. My FTP server and firewall/NAT are not depending on the ability to do packet inspection to adjust firewall rules, ports, etc. I've opened a range of ports on the server/firewall that the FTP service is configured to use for passive connections. With proftpd, FileZilla connects with no problems: passive, FTPS (implicit SSL). With vsftpd, both FileZilla and Akeeba either didn't connect or behave properly with passive, FTPS configuration. In vsftpd, I only enabled TLSv1.

The attached archive includes my Akeeba log. I didn't see anything relevant there. I'm also including screenshots of the post processing config screen, the error message I see, and entries from my proftpd TLSLog log file. These entries appear when I use Test FTP connection on Akeeba's post processing config screen. Note in particular the error, unable to accept TLS connection: received EOF that violates protocol. This seems to indicate that Akeeba is not properly negotiating TLS/SSL.

Thank you,

--
Ron

nicholas
Akeeba Staff
Manager
Hello Ron,

In fact it's not Akeeba Backup implementing the FTP protocol, it's PHP. As you may understand, since we're writing PHP code we cannot interface with the OpenSSL API and implement FTPS in socket level. Instead, we are using whatever PHP provides. The error message you get has to do with how PHP implements the FTPS protocol. Sorry, I can't help you with that :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!