Skip to content

fix(配对): 按当前连接模式显示隧道错误 - #388

Merged
yaojin3616 merged 3 commits into
mainfrom
fix/pairing-tunnel-tab-error
Sep 11, 2026
Merged

yaojin3616 merged 3 commits into
mainfrom
fix/pairing-tunnel-tab-error

Conversation

@Fairy-happy

Copy link
Copy Markdown
Collaborator

Summary

  • 配对页的隧道错误只在当前选中的连接模式 Tab 显示,互联网失败不再把红字留在 WiFi 页,也不会自动切回 WiFi。
  • Pinggy 使用固定用户名和专用 SSH 密钥,避免把本机登录名当成 token。
  • cloudflared 下载增加超时与可重试错误的重试。

Test plan

  • 打开「连接移动设备」,停在 WiFi:即使之前互联网隧道失败过,也不应再看到红字。
  • 切到互联网并故意失败:应停在互联网 Tab,红字只出现在这一页。
  • 再切回 WiFi:红字消失;再切回互联网:同一条错误仍在。
  • 互联网成功后错误文案被清掉。
  • 确认本次未包含开发版 Harness 起不来的改动。

Made with Cursor

fairy and others added 3 commits September 11, 2026 11:58
互联网失败后不再回落到 WiFi 页,并修复 Pinggy 鉴权与 cloudflared 下载重试。

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
解决 cloudflared-tunnel.ts 冲突:保留 main (#353) 基于 pipeline 的下载实现
(响应中断/超时不再挂起),叠加本 PR 的重试包装;超时与响应中断错误补上
ETIMEDOUT/ECONNRESET 错误码,使 isRetryableDownloadError 能识别并重试。
@yaojin3616
yaojin3616 merged commit c7e6a59 into main Sep 11, 2026
6 checks passed
@yaojin3616
yaojin3616 deleted the fix/pairing-tunnel-tab-error branch September 11, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants