Skip to content

[反馈]: 开启 ENABLE_AUTH_UPDATE: true 后,凭证依然频繁过期导致无法自动续期 (Cookie expired/invalid) #63

@sgmax9

Description

@sgmax9

部署平台

Docker

版本号

v0.5.2(最新版0.6.1也用过)

客户端/工具

No response

请求接口

OpenAI

问题/请求描述

开启 ENABLE_AUTH_UPDATE: true 后,凭证依然频繁过期(十来天)导致无法自动续期

在运行过程中(如切换账号时),程序检测到 Cookie 失效。此时浏览器被重定向至 Google 登录页面 (https://accounts.google.com/v3/signin/...),随后程序抛出错误 Cookie expired/invalid 并直接断开连接/退出。

日志如图所示
Image

日志信息(可选)

[INFO] ... [Browser] Executed realistic page activation
[INFO] ... [Browser] [Diagnostic] URL: https://accounts.google.com/v3/signin/confirmidentifier?continue=...
[ERROR] ... [Browser] Account 0 context initialization failed: Cookie expired/invalid! Browser was redirected to Google login page. Please re-extract storageState.
[ERROR] ... [Auth] Switch to specified account #0 failed: Cookie expired/invalid!

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