Repository navigation
Crashes after 70 startups #12488
DanIsaksson
started this conversation in
General
Replies: 1 comment
|
I had the same problem, my agent managed to create a temporary cleanup fix for the deployment routine |
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.
I encountered an issue with the app crashing automatically after reaching 70 restars.
time: 2026-11-06T18:11:33.478Z
source: host
phase: startup
app: @deepseek-ai/dsh-desktop 0.2.1-rc.5
platform: win32 x64
electron: 44.7.0
node: 24.21.0
locale: en
shell pid: 12480
--- error ---
Error: desktop welcome: Web authentication failed
at connectDesktopWelcome (file:///,,,/DeepSeek%20Harness/resources/app.asar/lib/main.js:8886:31)
at async Object.start (file:///,,,/DeepSeek%20Harness/resources/app.asar/lib/main.js:12195:22)
at async file:///,,,/DeepSeek%20Harness/resources/app.asar/lib/main.js:7162:5
at async file:///.../DeepSeek%20Harness/resources/app.asar/lib/main.js:12313:4
--- renderer console (error level, oldest first) ---
(no error-level renderer console output was captured)
--- DETAILS BY CLAUDE ---
Desktop fails at startup with "desktop welcome: Web authentication failed" (HTTP 431 from accumulated
dsh-auth-*cookies)Version: @deepseek-ai/dsh-desktop 0.2.1-rc.5, Windows 10 x64 (Electron 44.7.0)
Symptom: After a few weeks of normal use the desktop app started failing on every launch with:
Resetting the profile (
cordis.patch.yml, bundles) did not help.Cause: Each launch, the Desktop Host listens on a new random port and sets a cookie named
dsh-auth-<sha256 of "127.0.0.1:<port>">. Cookies are scoped by host, not port, so every earlier cookie is still sent to127.0.0.1on later launches, and each stays valid for its max-age. After about 70 launches the Cookie header reached ~16 KB, which exceeds Node's defaultmaxHeaderSize. The Host then answers the/?token=…request with431 Request Header Fields Too Large, andconnectDesktopWelcomereports that as an auth failure.Confirmed with
--log-net-log: the token request carried 71dsh-auth-*cookies (16,094-byte Cookie header) and gotHTTP/1.1 431.Workaround: Close the app and delete the stale cookies from
%APPDATA%\@deepseek-ai\dsh-desktop\Network\Cookies(SQLite):(Deleting the whole
Cookiesfile also works but drops any other cookies.) The app starts normally afterwards.Possible fixes:
dsh-auth-*cookies for the loopback host before authenticating.All reactions