Support

Akeeba Backup for Joomla!

#39568 OneDrive upload 504 Internal status error

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
4.3.4
PHP version
8.1.20
Akeeba Backup version
9.8.0

Latest post by nicholas on Wednesday, 04 October 2023 23:43 CDT

LDA

The configuration worked for years to upload the backup files to OneDrive. I have a license and 1TB of space.

Now it fails on uploading with timeouts and 504 internal error messages.

It happens on multiple sites and hosts (gn2 and ionos)

I tried to lower the chunk size from 10 to 5 MB. And I tried to lower the size of the jpa files. Even with 20MB jpa size it fails with

<strong>AJAX Loading Error</strong><br/>HTTP Status: 504 ()<br/>Internal status: error<br/>XHR ReadyState: 4<br/>Raw server response:<br/><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>504 Gateway Timeout</title> </head><body> <h1>Gateway Timeout</h1> <p>The gateway did not receive a timely response from the upstream server or application.</p> </body></html>

3 files where transferred with 20MB after that it fails.

15 days ago 300 MB where no problem.

It has to be the connection to OneDrive or OneDrive itself, but I didn't found any information, that Microsoft changed the rules on uploading files remotely.

nicholas
Akeeba Staff
Manager

OneDrive itself does not return HTML pages when we send requests asking for the returned data to be JSON. Seeing that, well, that's pointing to the real issue: your host.

Please talk to your host. They seem to have some kind of caching proxy for outbound requests and that's what is throwing the 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!

LDA

Hi nicholas,

thank you for your answer.

Can you tell me which protocol is used for sending the files to OneDrive. This would help the hoster for looking in the logfiles.

Thank you

Β 

nicholas
Akeeba Staff
Manager

It's just plain old HTTPS. He's looking for a POST or PUT request with a very big payload (at least 5MiB).

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!