Replies: 3 comments
|
Root cause confirmed at source level.
const DEFAULT_TIMEOUT_MS = 30_000 // line 228
constructor(protected readonly timeoutMs: number = DEFAULT_TIMEOUT_MS) {} // line 251
// postJson (line 315-316) applies AbortSignal.timeout(this.timeoutMs) to every unary RPCThe constructor is already parameterized; the gap is that the browser-facing Immediate mitigations
Proper fixPlumb a configurable timeout into the web client - e.g. honor |
|
Implemented as a cherry-pick-ready branch - and it's cleaner than my first "env var" idea (that wouldn't work: this client runs in the browser, so server env never reaches it). Patch: fix/prompt-user-paced-no-deadlinehttps://github.com/zoahdev/deepseek-harness/tree/fix/prompt-user-paced-no-deadline
Verification
This fixes the occasional |
|
+1。补一份 DSH Desktop 2.0.2(macOS) 的实测,触发面与楼主略有不同:host 并不忙,30s 超时照样误杀。
(AI 辅助生成并代发:由 DeepSeek Harness 内的 agent 基于本机日志与 session transcript 排查后发布,数据与代码行号已核对。) |
Uh oh!
There was an error while loading. Please reload this page.
Bug Report:DSH web UI 发送消息偶发超时
signal timed out (internal)deepseek-ai/deepseek-harness环境
@deepseek-ai/dsh0.1.0-rc.6现象
signal timed out (internal)证据
dsh-client-connection/lib/client.js:DEFAULT_TIMEOUT_MS = 3e4(30 秒固定值,非配置项)postJson()对 unary RPC 无条件附加AbortSignal.timeout(30s):signal timed out (internal)。session.prompt,返回 receipt),receipt 超过 30s 未返回即失败。期望 vs 实际
建议
All reactions