GAM-team / GAM-team/got-your-back

Timeout in OAuth

Open
#375 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.1k
Forks
245
PR merge metrics
No merged PRs in 30d

Description

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:
* I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue.
* I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki

Full steps to reproduce the issue:
1. /bin/gyb/gyb --email ********* --action count
2.
3.

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!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running `/bin/gyb/gyb --email ********* --action count` and inspect the traceback entry points in gyb.py, especially callGAPI at line 732, callGAPIpages at line 782, and wrapped_request_method at line 113. Compare the timeout path with the expected count operation; done means identifying the cause and documenting or addressing the failure behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.