请考虑让下载更新时试用系统当前使用的代理设置,现在卡下载
如题 下载失败,提示如下错误:
Status update to keep this tracked: a fix is open and waiting for review, not abandoned.
PR #86 covers this issue in two parts:
-
Routing —
downloadUpdateinappUpdateInstaller.tsalways usedsession.defaultSession.fetch(). With WeSight's "use system proxy" preference off (the default), that session runs indirectmode, so users behind a local proxy never had their download routed through it. The fix uses a dedicatedpersist:wesight-update-downloadpartition session withsetProxy({ mode: 'system' }), isolated from the default session. -
The reported symptom — routing alone did not fix "卡下载".
DOWNLOAD_INACTIVITY_TIMEOUT_MSwas only armed afterresponse.bodyexisted, so a proxy that completes the TCP handshake and then black-holes the request leftsession.fetch()pending forever with no timer running. The only escape was clicking cancel. PR #86 adds a response-phase timeout so the connect stage is also bounded.
CI is green on the PR. Note that this repo's stale workflow would otherwise mark this issue stale on 2026-10-08 and close it on 2026-10-22 — closing it on inactivity would not mean the bug was fixed, since the fix is still unmerged. Commenting to reset that clock.
If you can share the exact proxy setup from the screenshot (proxy tool and whether it is HTTP or SOCKS5), that would help confirm part 2 matches what you hit.