Skip to content

[反馈]: WebSocket initialization timeout #243

Description

@zxk0803

部署平台

Docker

版本号

v1.3.5&1.3.6

客户端/工具

No response

请求接口

Gemini

问题/请求描述

突然发现所有账号都连不上了,日志如下。debug screen shot就是url错误

Image

日志信息(可选)

[INFO] 2026-08-20 22:23:10.398 [America/New_York] [AIStudioToAPI] - 🔄 [Browser] Starting account switch: from -1 to 0
[INFO] 2026-08-20 22:23:10.399 [America/New_York] [AIStudioToAPI] - ==================================================
[INFO] 2026-08-20 22:23:10.399 [America/New_York] [AIStudioToAPI] - 🔄 [Browser] Context for account #0 not found, initializing...
[INFO] 2026-08-20 22:23:10.400 [America/New_York] [AIStudioToAPI] - ==================================================
[INFO] 2026-08-20 22:23:13.508 [America/New_York] [AIStudioToAPI] - [Context#0] Privacy protection layer active: ANGLE (NVIDIA, NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0, D3D11)
[INFO] 2026-08-20 22:23:13.586 [America/New_York] [AIStudioToAPI] - [Context#0] Privacy protection layer active: ANGLE (NVIDIA, NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0, D3D11)
[INFO] 2026-08-20 22:23:18.503 [America/New_York] [AIStudioToAPI] - [Context#0] ⏳ Waiting for Continue/Launch button or WebSocket initialization (timeout: 120s)...
[ERROR] 2026-08-20 22:23:18.530 [America/New_York] [AIStudioToAPI] - [Context#0 Page Error] Failed to load user preferences from backend Error
[INFO] 2026-08-20 22:23:18.984 [America/New_York] [AIStudioToAPI] - [Context#0] Found "Skip" button, clicking...
[INFO] 2026-08-20 22:23:19.723 [America/New_York] [AIStudioToAPI] - [Context#0] Privacy protection layer active: ANGLE (NVIDIA, NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0, D3D11)
[INFO] 2026-08-20 22:23:19.765 [America/New_York] [AIStudioToAPI] - [Context#0] Privacy protection layer active: ANGLE (NVIDIA, NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0, D3D11)
[ERROR] 2026-08-20 22:25:19.024 [America/New_York] [AIStudioToAPI] - [Context#0] ⏱️ WebSocket initialization timeout after 120s
[ERROR] 2026-08-20 22:25:19.026 [America/New_York] [AIStudioToAPI] - ❌ [Browser] Context initialization failed for index 0, cleaning up...
[INFO] 2026-08-20 22:25:20.049 [America/New_York] [AIStudioToAPI] - [Debug] Failure screenshot saved to: /app/debug_screenshot_init_failed_2026-08-21T02-25-19.png
[INFO] 2026-08-20 22:25:20.122 [America/New_York] [AIStudioToAPI] - [Debug] Failure page source saved to: /app/debug_page_source_init_failed_2026-08-21T02-25-19.html
[INFO] 2026-08-20 22:25:20.187 [America/New_York] [AIStudioToAPI] - [Browser] Cleaned up leaked context for index 0
[ERROR] 2026-08-20 22:25:20.188 [America/New_York] [AIStudioToAPI] - ❌ [Browser] Account 0 context initialization failed: WebSocket initialization failed. Please check browser logs and page errors.
[ERROR] 2026-08-20 22:25:20.189 [America/New_York] [AIStudioToAPI] - ❌ [Auth] Switch to specified account #0 failed: WebSocket initialization failed. Please check browser logs and page errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions