You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Desktop startup fails: local dsh-auth-* cookie accumulation can exceed 16KB request header
#11379
DSH Desktop on Windows accumulates local dsh-auth-* cookies. After enough restarts, the local authentication request header can exceed Node's default 16KB limit and DSH fails to start with:
desktop welcome: Web authentication failed
This is unrelated to third-party plugins. Disabling plugins did not help.
Reproduction
Use DSH Desktop 0.2.1-rc.3 on Windows
Restart the app repeatedly
Observe that %APPDATA%\@deepseek-ai\dsh-desktop\Network\Cookies accumulates many dsh-auth-* cookies
Once the local auth request header exceeds 16KB, the app fails to start
The crash log contains desktop welcome: Web authentication failed
Current behavior
Each restart can add a new local authentication cookie
Old cookies are not automatically cleaned up
With 71 local cookies, the authentication request header is about 16KB
The local service's default 16KB HTTP request header limit is exceeded
The app cannot start and reports desktop welcome: Web authentication failed
Expected behavior
Local authentication cookies should not accumulate across restarts
The app should clean up or reuse stale local authentication cookies on startup
Or use a stable authentication mechanism that does not grow with each launch
Environment
Windows 11
DSH Desktop 0.2.1-rc.3
Triggered after repeated restarts
Temporary workaround: delete dsh-auth-* records from %APPDATA%\@deepseek-ai\dsh-desktop\Network\Cookies, then restart DSH
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
DSH Desktop on Windows accumulates local
dsh-auth-*cookies. After enough restarts, the local authentication request header can exceed Node's default 16KB limit and DSH fails to start with:desktop welcome: Web authentication failedThis is unrelated to third-party plugins. Disabling plugins did not help.
Reproduction
%APPDATA%\@deepseek-ai\dsh-desktop\Network\Cookiesaccumulates manydsh-auth-*cookiesdesktop welcome: Web authentication failedCurrent behavior
desktop welcome: Web authentication failedExpected behavior
Environment
dsh-auth-*records from%APPDATA%\@deepseek-ai\dsh-desktop\Network\Cookies, then restart DSHAll reactions