dsh-cookie-guard:定时清理 dsh-auth cookie,避免 DSH 桌面版 431 认证失败

DSH 桌面版(Windows)因随机端口导致 127.0.0.1 下 dsh-auth cookie 堆积,请求头超 16 KB 触发 431「Web 认证失败」。kongbaiwin 的 dsh-cookie-guard 通过计划任务与登录垫片调度 cleaner.mjs,在库未锁时按前缀清理或可选整库替换,并提供设置页、备份与日志。仅支持 Windows desktop profile,安装后于「设置 → Cookie 清理」配置。

阅读全文
dsh-cookie-guard:修复 DSH 登录 Cookie 累积导致 Web UI 打不开

DSH 桌面端每次换端口会新增 dsh-auth Cookie 且长期不清理,浏览器 Cookie 请求头超过 Node 16 KiB 上限时会 431,Web UI 无法打开。客户端插件 dsh-cookie-guard 在 webServer 最前提高 maxHeaderSize、剥离多余 dsh-auth 并通过 Set-Cookie 删除过期与超额条目,README 实测可从 34 KB 头降到约 1 KB。本文介绍问题成因、安装命令、三项配置及验证方式,并说明多开保留策略与回滚。

阅读全文
dsh-cookie-guard:每周体检 DSH 登录 cookie,防止请求头撑爆白屏

DSH 桌面端每次启动会新增 dsh-auth-* 登录 cookie,长期堆积会占满约 16 KB 请求头软上限导致白屏。dsh-cookie-guard(mxw0808)在 Windows 上通过每周一计划任务统计 Cookies 库,默认超过 40 条先整库备份再删除 dsh-auth-*;应用内启用/停用插件即控制是否执行。安装为 clone 或 ZIP 后 dsh plugin --profile desktop add,可选手动运行 guard.py 体检。仅 win32,需 Python 3.8+,MIT 许可。

阅读全文
dsh-cookie-guard:限制桌面端 dsh-auth Cookie 寿命,避免启动崩溃

DSH 桌面端因随机端口与 30 天未清理的 dsh-auth-* Cookie 堆积,易使 Cookie 请求头超过 Node 16KB 上限,触发 HTTP 431 或 Web authentication failed 而无法启动。社区插件 dsh-cookie-guard 由 kevindawn11-hash 维护,通过 desktop profile 的 bundle patch 将 cookieMaxAgeDays 设为 7,无运行时侵入;并提供 prune-cookies.mjs 清理已卡死的 Cookie 库。安装需 Node >= 22 与 DSH 0.2.1-rc.3+,推荐 dsh plugin --profile desktop add dsh-cookie-guard。

阅读全文
Cookie 守护(dsh-cookie-guard):DSH 桌面版登录 cookie 泄漏自查浮窗

DSH 桌面版每次启动写入一条 dsh-auth-* cookie 且默认不删除,请求头累积约在第 72 次启动触顶 Node 16 KiB 上限,导致 Web authentication failed。插件 dsh-cookie-guard 在 Windows 上以只读浮窗显示条数、字节占用与剩余启动次数,接近上限变色告警,并提供安装命令与可选独立清理工具说明。MIT 1.0.1,维护者 3150481853。

阅读全文