Timed out waiting for response from authorization server
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- authentication
Research direction
Start in pydrive2/auth.py at LocalWebserverAuth (around line 301), which calls flow.run_local_server from google_auth_oauthlib; the traceback shows the local WSGI app never received a request and returned None. Reproduce with the sample OAuth snippet on the reported interpreter (3.14t free-threaded build) and check whether the browser callback is blocked or the timeout is too short. Done looks like either a documented workaround, a configurable timeout/host parameter, or a fix that avoids the last_request_uri crash.
Written by the indexing model from the issue text.
Description
When trying to authorize the new client:
Traceback (most recent call last):
File "/home/user/.venv/lib/python3.14t/site-packages/google_auth_oauthlib/flow.py", line 472, in run_local_server
authorization_response = wsgi_app.last_request_uri.replace(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'replace'
The above exception was the direct cause of the following exception:
File "/home/user/.venv/lib/python3.14t/site-packages/pydrive2/auth.py", line 135, in _decorated
self.auth.LocalWebserverAuth()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/home/user/.venv/lib/python3.14t/site-packages/pydrive2/auth.py", line 301, in LocalWebserverAuth
credentials = self.flow.run_local_server(
host=host_name,
...<3 lines>...
**self._authorization_params(),
)
File "/home/user/.venv/lib/python3.14t/site-packages/google_auth_oauthlib/flow.py", line 476, in run_local_server
raise WSGITimeoutError(
"Timed out waiting for response from authorization server"
) from e
google_auth_oauthlib.flow.WSGITimeoutError: Timed out waiting for response from authorization server
- Dominant language
- Python
- Stars
- 671
- Forks
- 76
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 46
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from iterative/PyDrive2
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Test cleanups after the 2.0 fix PRsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
maintenance priority-p2 tests
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
iterative/PyDrive2#399 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
Maintainers usually reply within 1 day
-
feature request fs priority-p2
Difficulty 5/5 Over a week Newbie friendliness 35/100
iterative/PyDrive2#236 · 2 comments ·
Maintainers usually reply within 1 day
All issues in iterative/PyDrive2
Similar issues
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days