GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.6k stars 205 forks source link

Timeout in OAuth #375

Open gdfm opened 2 years ago

gdfm commented 2 years ago

The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:

Full steps to reproduce the issue:

  1. /bin/gyb/gyb --email ***** --action count

Expected outcome (what are you trying to do?): Counting the emails in my account (was working till yesterday). I've been copying over an email account from a GSuite Legacy to a new Gmail account. It was working fine until yesterday, when suddenly I started getting a timeout. I suspect it is some kind of security feature, maybe triggered by the large amount of API calls?

Actual outcome (what errors or bad behavior do you see instead?):

Traceback (most recent call last): File "gyb.py", line 2642, in File "gyb.py", line 2476, in main File "gyb.py", line 782, in callGAPIpages File "gyb.py", line 732, in callGAPI File "googleapiclient/_helpers.py", line 131, in positional_wrapper File "googleapiclient/http.py", line 922, in execute File "googleapiclient/http.py", line 221, in _retry_request File "googleapiclient/http.py", line 190, in _retry_request File "gyb.py", line 113, in wrapped_request_method File "google_auth_httplib2.py", line 218, in request File "httplib2/init.py", line 1701, in request File "httplib2/init.py", line 1421, in _request File "httplib2/init.py", line 1343, in _conn_request File "httplib2/init.py", line 1133, in connect TimeoutError: [Errno 60] Operation timed out [28952] Failed to execute script 'gyb' due to unhandled exception!