Skip to content

[反馈]:启用账号失败 #196

Description

@breezelol

部署平台

Docker

版本号

v1.3.0

客户端/工具

No response

请求接口

None

问题/请求描述

账号登录保存后,启用账号一直不成功
经过排查发现,是Google弹窗阻碍了账号的启用
弹窗内容为:
This app is from another developer
This app was developed by another user. Be cautious and only continue with apps you trust. Don't share personal or sensitive information, such as passwords or payment details. Anyone with this public link can access and edit shared data.
需要点击“Continue to the app”按钮才可以继续
我是登录成功之后,没有点击保存,直接访问https://ai.studio/apps/d95c5b9c-cf68-4419-90ef-6546f471f731,手动点击“Continue to the app”按钮页面刷出来之后,保存会话退出VNC,再在控制台面板切换逐个切换账号才能全部启用

日志信息(可选)


Activity

  1. changed the title [-][反馈]:[/-] [+][反馈]:账号登录保存后,启用账号失败[/+] on Jun 2, 2026
  2. bbbugg commented on Jun 2, 2026

    @bbbugg
    Member

    目前应该是有点击Continue to the app的,你看你成功的启动日志,应该会有

    [INFO] 2026-06-02 04:03:13.266 [Asia/Shanghai] [AIStudioToAPI] - [Context#3] Found "Continue to the app" button, clicking...
    [INFO] 2026-06-02 04:03:14.600 [Asia/Shanghai] [AIStudioToAPI] - [Context#3] No Launch button found
    

    自动启动失败,可能有别的弹窗了

  3. TonyDG233 commented on Jun 4, 2026

    @TonyDG233

    我这边有一部分账号会出现webSocket initialization failed的情况,debug截图显示为This app is from another developer的风险提示(同上),且连续三天。
    今天白天登录对应账号,结果却发现可以登录也可以触发
    [INFO] 2026-06-04T05:36:03.350Z [AIStudioToAPI] - [Context#21] Found "Continue to the app" button, clicking...
    [INFO] 2026-06-04T05:36:03.391Z [AIStudioToAPI] - [Context#21] No Launch button found
    不过之前连续3天,在晚上特定时段会出现该问题(大概晚上至次日凌晨,),有可能是网络问题。debug的截图与html无发现其他弹窗

    debug_page_source_init_failed_2026-06-03T16-49-00.html
    Image

  4. bbbugg commented on Jun 4, 2026

    @bbbugg
    Member

    难道是网络问题,没等到弹窗检测的时间窗口?
    登录失败的日志,弹窗检测的位置是不是没有检测到弹窗,不是Found "Continue to the app" button, clicking...

  5. TonyDG233 commented on Jun 4, 2026

    @TonyDG233

    没有,我这边印象是 [Context#25] Privacy protection layer active:后出现两个按钮检查(没有Found "Continue to the app" button),没有检查到后进入[Context#25] ⏳ Waiting for WebSocket initialization (timeout: 120s),然后就webSocket initialization failed了。不过忘记保存日志了
    补充信息,我用的科学上网环境在夜间速度会减慢很多。

  6. bbbugg commented on Jun 4, 2026

    @bbbugg
    Member

    那延迟一下检测时间,之前这个按钮不点也能正常启动,我测试过,现在可能改版了,必须点击才能启动。

  7. TonyDG233 commented on Jun 4, 2026

    @TonyDG233

    [INFO] 2026-06-04T06:22:33.233Z [AIStudioToAPI] - [Context#16] Privacy protection layer active: Intel Iris OpenGL Engine
    [INFO] 2026-06-04T06:22:33.242Z [AIStudioToAPI] - [Context#16] Privacy protection layer active: Intel Iris OpenGL Engine
    [INFO] 2026-06-04T06:22:59.523Z [AIStudioToAPI] - [Context#16] No popups detected during scan
    [INFO] 2026-06-04T06:22:59.551Z [AIStudioToAPI] - [Context#16] No Launch button found
    [INFO] 2026-06-04T06:22:59.551Z [AIStudioToAPI] - [Context#16] ⏳ Waiting for WebSocket initialization (timeout: 120s)...
    [ERROR] 2026-06-04T06:24:59.690Z [AIStudioToAPI] - [Context#16] ⏱️ WebSocket initialization timeout after 120s
    [ERROR] 2026-06-04T06:24:59.690Z [AIStudioToAPI] - ❌ [Browser] Context initialization failed for index 16, cleaning up...
    [INFO] 2026-06-04T06:24:59.721Z [AIStudioToAPI] - [Debug] Failure screenshot saved to: D:\LLM\Ark_AIStudioToAPI\debug_screenshot_init_failed_2026-06-04T06-24-59.png
    [INFO] 2026-06-04T06:24:59.724Z [AIStudioToAPI] - [Debug] Failure page source saved to: D:\LLM\Ark_AIStudioToAPI\debug_page_source_init_failed_2026-06-04T06-24-59.html
    [INFO] 2026-06-04T06:24:59.730Z [AIStudioToAPI] - [Browser] Cleaned up leaked context for index 16
    [ERROR] 2026-06-04T06:24:59.730Z [AIStudioToAPI] - ❌ [Browser] Account 16 context initialization failed: WebSocket initialization failed. Please check browser logs and page errors.
    [ERROR] 2026-06-04T06:24:59.730Z [AIStudioToAPI] - ❌ [Auth] Switch to specified account #16 failed: WebSocket initialization failed. Please check browser logs and page errors.

    debug_page_source_init_failed_2026-06-04T06-24-59.html

    Image

    拿个延迟巨高的节点,成功复现了。问题很有可能是检测时间过快,没有等网页完全加载出来就跳过检测等WebSocket initialization了

  8. bbbugg commented on Jun 4, 2026

    @bbbugg
    Member

    确实是,我改一下逻辑吧,之前这个按钮不点也可以启动。

  9. bbbugg commented on Jun 4, 2026

    @bbbugg
    Member

    试一下 ghcr.io/ibuhub/aistudio-to-api:Preview-20260604-111457 ,改为了等待 WebSocket 连接时,去检查按钮

  10. TonyDG233 commented on Jun 4, 2026

    @TonyDG233

    [INFO] 2026-06-04T12:47:01.488Z [AIStudioToAPI] - [Context#16] ⏳ Waiting for Continue/Launch button or WebSocket initialization (timeout: 120s)...
    [INFO] 2026-06-04T12:47:12.003Z [AIStudioToAPI] - [Context#16] Found "Continue to the app" button, clicking...
    拿好几个延迟400ms+的节点做测试,最长的点击延迟就是上面的12秒,但全部都能登录。

  11. hsnshuning123 commented on Jun 4, 2026

    @hsnshuning123

    佬,我正要来反馈就看到修复了哈哈

  12. TonyDG233 commented on Jun 4, 2026

    @TonyDG233

    等合并main直接更新就行,我这边再看看那些连网页都差点加载不出来的节点能不能也能登录:)

  13. changed the title [-][反馈]:账号登录保存后,启用账号失败[/-] [+][反馈]:启用账号失败[/+] on Jun 4, 2026
  14. TonyDG233 commented on Jun 4, 2026

    @TonyDG233

    又试了几个号,没有复现问题了。只要能加载出网页触发[Context#45] ⏳ Waiting for Continue/Launch button or WebSocket initialization (timeout: 120s)...,就没见过失败情况了。
    不过今天网络情况稍好,最糟糕的是在300ms-600ms之间乱跳的。确实没法测试更恶劣的情况了。

  15. bbbugg commented on Jun 4, 2026

    @bbbugg
    Member

    那就先合了,120s 应该也能触发了。后面有问题再反馈。

  16. github-actions commented on Jun 4, 2026

    @github-actions

    ✅ 此 Issue 已在版本 v1.3.1 中修复 (通过 PR #199)。
    ✅ This Issue has been fixed in version v1.3.1 (via PR #199).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions