Support

UNiTE, Remote CLI, eXtract Wizard

#3748 Akeeba Remote Control will not download

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Tuesday, 15 March 2011 09:49 CDT

dimple
Hi,

I am using Windows XP / Akeeba Remote Control 4.0.3 / Akeeba Backup 3.2.3

I can back up the site either on the server, or using Remote Control. I can download the backed up site to my machine using FTP. However, downloading the site onto my machine via ARC does not work, It's starts of by saying it's starting to download then stops and I get a romote API call error:

HTTP status 500( )
Internal status error
XHR Ready State: 4
Raw server Response

Would this be caused by my host, or maybe something on my machine, or some configuration I have wrong? (I'm a total newbie.)

See attached files which I hope are right.
Your help would be very much appreciated.

nicholas
Akeeba Staff
Manager
The server part (JSON API) needs to encode the archive file's data with base64_encode before sending them to Remote Control. This is a time consuming process. It looks like your server is timing out while it's doing that. Sorry, the only way to download the backup archive is currently doing that manually :(

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!

dimple
Hi,

Thanks for the reply. However, the problem is solved. It was a setting on my host server(allow_url_fopen).

Works very nicely now. Thanks for a great app!
Kind regards

nicholas
Akeeba Staff
Manager
Thank you for posting the solution! :)

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!

user31174
Could you please elaborate a little more on this?

I have the exact same download error problem and I thought maybe it was my horrible internet connection at first, but now I think it is a security setting on my hosts end.

Is this something I can change or is it something I have to contact my host about?

Thanks

nicholas
Akeeba Staff
Manager
Sure. Most likely you have mod_security Apache module installed on your server. One of its features is protecting the server against Denial of Service attacks. The way it works is something like that: if a request to the same URL from the same IP occurs more than X times over the last Y seconds, all requests from that IP will be responded with a 403 error for Z seconds. X, Y and Z are configuration options in mod_rewrite's configuration.

Since this is a server-wide setting (think of it as something which affects all sites served by that specific machine) it can't be changed by you. It can only be changed by your host. Will your host change it, ever? There's not a cat's chance in hell he will. If he wanted more lax security settings, he'd have already enforced them. You just can't do anything.

Can I do anything about it? Nope. If I try to download the entire archive in one go, you will either see the application freezing or get an application crash due to insufficient memory. If I try to use an external program to perform the download, crashes are very possible unless you have the exact Operating System versions I am testing with. Can I test with all possible hardware and OS configurations? Sure, if I start charging each copy of ARC a few thousand dollars, because that would be a monumental and VERY expensive task.

The only thing I can do is to tell you to wait. I want to rewrite the application using a different cross-platform framework which would allow me to provide a better download experience. That needs time to do. Time that I don't currently have because I have to continue developing and supporting my Joomla! software. The recent survey showed that only 10% of users use ARC and none of them is really interested in paying. So, I'm sorry, but I have to do stuff which actually allows me to make some money to take care of my family and put a new ARC version on the backburner for a while :)

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!

user31174
"not a cat's chance in hell" Hah hah!

I did send a request to my host just a bit ago and I expect this is the response I will get.

I am really surprised to see such a low user rate of this product. I just installed it and I love it - was even thinking that I need to donate a bit for this, but I also would like to donate to Japan right now. Unfortunately, I too have to pay bills and this is not easy being that I decided to go back to school and be broke for a long time.

On another note, my site is currently about 100MB, but I have adjusted the back up to exclude folders like photo albums, so my download size is now only 19MB.

Thanks for the great support and the awesome products Nicholas. As long as your products are available, I will do my best to support your work and I will refer people to your site.

nicholas
Akeeba Staff
Manager
You're welcome, Randy! Most people tend to use CRON jobs directly on the server together with a cloud storage engine (e.g. Amazon S3, which really rocks), therefore they have no reason to download the backup archives.

I am working on a different approach in the meantime. The idea is to have a PHP script perform the backup and download the archive file. You can even run it on a schedule, without having an application open all the time. The drawback is that it requires a configuration file to be produced. I try to tackle this issue by creating a cross-platform application which allows you to edit the configuration file and run a backup against that configuration. The end result will be much more powerful than Remote Control but it'll have a less polished interface. Well, I do prefer functionality over presentation, but I hope I will come up with a good idea to combine both, essentially withdrawing Remote Control and replacing it with a much better solution :)

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!