Timed out waiting for response from authorization server
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- python
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Python
- 星號
- 671
- 分支
- 76
- 平均合併
- 17 小時 55 分鐘
- 30 天內合併 PR
- 46
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
iterative/PyDrive2 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
Test cleanups after the 2.0 fix PRs可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
maintenance priority-p2 tests
難度 2/5 1-3 小時 新手友好度 82/100
iterative/PyDrive2#399 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 58/100
維護者通常 1 天內回覆
-
feature request fs priority-p2
難度 5/5 一週以上 新手友好度 35/100
iterative/PyDrive2#236 · 2 則留言 ·
維護者通常 1 天內回覆
查看 iterative/PyDrive2 的全部 Issue
相似的 Issue
-
A JSON chat answer blocks the backend event loop for the whole RAG run可能已有人在做 @NopeCharon 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
The-OpenROAD-Project/ORAssistant#656 ·
維護者通常 1 天內回覆
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionError可能已有人在做 @jejjohnson 今天認領。 未關閉type:bug
難度 2/5 1-3 小時 新手友好度 72/100
jejjohnson/integrix#144 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
finos/ai-governance-framework#459 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
freelawproject/litigant-portal#1307 ·
維護者通常 2 天內回覆