googleapis / google-api-php-client

A PHP client library for accessing Google APIs
http://googleapis.github.io/google-api-php-client/
Apache License 2.0
9.32k stars 3.52k forks source link

Error 502 (Server Error)!!1 with JetBackup #2421

Closed khalequzzaman17 closed 1 year ago

khalequzzaman17 commented 1 year ago

I am using Google Drive API to generate the backup of cPanel accounts with JetBackup on my server. Yesterday, I found, the backups are not working fine anymore for the last 40+ days. I used to keep 60 days of backups (retains). The error I am getting at (from the log file of JetBackup):

[29 March 2023 01:21:35 AM +0600] [ERROR] Failed to prepare temporary snapshot folder. Error: <!DOCTYPE html>

Error 502 (Server Error)!!1

502. That’s an error.

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds. That’s all we know. This needs to be fixed fast, because, the backups are urgent. Thank you.

Stalinko commented 1 year ago

I'm getting the same error when uploading my large backups (50GB) every day :(

Sak1s commented 1 year ago

i am facing the some error.

Any tips ?

bshaffer commented 1 year ago

As this is a Server Error, it would be an issue with the API itself and not with this library. This repository is for issues with the PHP client libraries themselves, we do not support the APIs.

My best guess is this is an intermittent error having to do with the service going down. I'd implement retries in your code in this situation. If the problem persists, I would suggest filing an issue with JetBackup, or with the Drive API itself.