Support

Akeeba Backup for Joomla!

#18409 Dropbox Error while connecting

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 ka3media on Tuesday, 10 December 2013 09:05 CST

ka3media
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:

New installation.

After installation of AkeebaBackup I tried to connect to dropbox, which I did for other sides on this hosting before, but during the first step the Dropbox-Page shows an error (in german) "Die Verknüpfungsanforderung ist ungültig", which in english means like "the connection request is void". (No error in log)

If I try to connect other pages on this hosting, they now show the same error, while still connected to dropbox and working.

Any idea on this? Thanks in advance!

nicholas
Akeeba Staff
Manager
Please open the configuration page of your backup profile and find the "Data processing engine" row. Click on Configure. Uncheck (clear) the box "Enable chunk upload". Save & Close. Your backup should now work without a problem.

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!

ka3media
Thank you for your feedback.

I did this, but nothing changed.

The problem is not during the backup, it's while connecting to the dropbox (Authentication - Step1). It seems a host setting, but no frigging idea where to start searching...

ka3media

nicholas
Akeeba Staff
Manager
OK, now I understand what you were saying in your first post. Sorry, it was a bit vague and I guessed wrong :(

It seems that your host blocks connections to www.dropbox.com over port 443 (SSL). This prevents Akeeba Backup from getting the correct Dropbox URL which causes Dropbox to throw that error.

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!

ka3media
Thank you.

Yes, nearly like that. After a short phonecall i found out, that they build a DNS-block to the known Dropbox addresses...

a solution can be to use direct IP Addresses to connect... once it is connected, it works well. Can you tell me where the Dropbox-connection is set up (files).

Thank you in advance!

nicholas
Akeeba Staff
Manager
Please move to a decent host. Your host is broken beyond repair.

Dropbox, as they already know, is hosted on the Amazon EC2 infrastructure. This means that there is no static IP of their server. Basically, your host's network technicians do not understand how to secure their servers so by default they are blocking all outbound communication. Their servers are a big pile of crap. Do yourself a favour and move to a decent host like SiteGround, Rochen or CloudAccess.net, i.e. hosts which have servers run by people who do understand how secure servers are properly set up...

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!

ka3media
:) I know you would say something like that...

They do not block it simple, they let these connections run into zero... background is, that they offer a unlimited hosting, means no limit in traffic, webspace...etc for less than 5€/month. And some people used it for Gbit-transactions over Dropbox.

Once established connection work on, upload works fine... they say, it shouldn't ;)

I found out that there has been some static IPs some month ago (75.101.139.43, 75.101.145.128, 75.101.146.49, 75.101.129.146, 75.101.138.84)... but we are only testing hosting on this hoster, because same clients asked about it. So let's leave it as it is...

Remember it for the next ticket about sync with dropbox... the hoster is 5hosting :)

And thank you once again for your support

nicholas
Akeeba Staff
Manager
You're welcome!

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!

ka3media
Short info back to you...

I changed the file backend\akeeba\plugins\utils\dropbox.php

Row 41ff

class AEUtilDropbox
{
	// Dropbox web endpoint
	const WEB_URL     = 'https://www.dropbox.com/1/';
	const API_URL     = 'https://api.dropbox.com/1/';
	const CONTENT_URL = 'https://api-content.dropbox.com/1/';


to
class AEUtilDropbox
{
	// Dropbox web endpoint
	const WEB_URL     = 'https://www.dropbox.com/1/';
	const API_URL     = 'https://108.160.165.142/1/';
	const CONTENT_URL = 'https://50.19.210.210/1/';


This helps to circumvent the DNS-rerouting... if there is any ticket like this

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!