Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Getting RATE_LIMIT_EXCEEDED when using google drive #85

Open
tioalexis opened this issue Mar 11, 2023 · 1 comment
Open

Getting RATE_LIMIT_EXCEEDED when using google drive #85

tioalexis opened this issue Mar 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tioalexis
Copy link

tioalexis commented Mar 11, 2023

Describe the bug
Syncing will take an incredibly long time and when it finishes, the logs will report a RATE_LIMIT_EXCEEDED error.

To Reproduce
Steps to reproduce the behavior:

  1. Add Google Drive as the cloud service.
  2. Sync any game that you know has contents.
  3. Trigger a dry run and it should report just fine.
  4. Proceed with sync and it will take a long time.
  5. After the sync completes, read the logs.

Expected behavior
Syncing should immediately cancel and report the issue to the user.
Or report the issue to the userand give them the option to cancel while it retries in the background.

Screenshots

low level retry 1/10 (error googleapi: Error 403: Quota exceeded for quota metric 'Queries' and limit 'Queries per minute' of service 'drive.googleapis.com' for consumer 'project_number:202264815644'.
Details:
[
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"domain": "googleapis.com",
"metadata": {
"consumer": "projects/202264815644",
"quota_limit": "defaultPerMinutePerProject",
"quota_limit_value": "420000",
"quota_location": "global",
"quota_metric": "drive.googleapis.com/default",
"service": "drive.googleapis.com"
},
"reason": "RATE_LIMIT_EXCEEDED"
},
{
"@type": "type.googleapis.com/google.rpc.Help",
"links": [
{
"description": "Request a higher quota limit.",
"url": "https://cloud.google.com/docs/quota#requesting_higher_quota"
}
]
}
]
, rateLimitExceeded)

Rate limited, increasing sleep to 2.939074062s

Desktop (please complete the following information):

  • OS: Windows 10 Home
  • Version 22H2 (build 19045.2604)

Additional context
Add any other context about the problem here.

@DavidDeSimone
Copy link
Owner

Thanks for the report - it seems that Google Drive is more aggressive about rate limiting than the other providers. I'll work on better surfacing this information to the use and allow them to retry if rate-limited.

@DavidDeSimone DavidDeSimone added the bug Something isn't working label Mar 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants