Repository navigation
[Bug] 本地认证 cookie 无限累积导致 "desktop welcome: Web authentication failed" #11555
bytes-astra
started this conversation in
General
Replies: 1 comment
|
我也遇到这个了 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
环境
com.deepseek.dsh)@deepseek-ai/dsh-desktop 0.2.1-rc.5现象
长期使用后,启动应用报:
对应崩溃日志:
~/Library/Logs/DeepSeek Harness/crash-*-web-boot.log,phase: startup,source: web-boot。复现步骤
desktop welcome: Web authentication failed,无法进入。期望行为
实际行为
~/Library/Application Support/@deepseek-ai/dsh-desktop/Cookies中持续累积dsh-auth-<随机串>cookie:127.0.0.1(本地后端代理域);根因分析
应用采用「随机命名 + 只增不删」的 cookie 管理策略:
dsh-auth-<random>),新会话无法覆盖旧条目,只能新增;expires也不做读取期淘汰、启动不清理;127.0.0.1域下 token 过多,后端认证握手时取错 / 无法匹配,直接失败。证据(清理前后对比)
dsh-auth-*cookie 数清空后
integrity_check = ok,重启重登即恢复正常,证实 71 条冗余 token 为直接诱因。临时 workaround(用户侧)
killall "DeepSeek Harness");dsh-auth-*条目:~/Library/Application Support/@deepseek-ai/dsh-desktop/Cookies)建议修复
dsh-auth),登录时覆写而非新增;127.0.0.1下dsh-auth-*旧条目,仅保留当前会话;dsh-auth-*数量设上限(如保留最近 N 条),超限自动淘汰最旧项。严重程度
高——长期使用必然触发,导致应用无法启动进入,且普通用户难以自行排查。
All reactions