github / github/app

Webfetch on MacOs fails when connected via iPhone hotspot

未关闭
#2,444 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

Using CoPilot App v1.1.2 on MacOs 26.5.2 for some research (eg simplified to: 'Please summarise the last entry in the GitHub changelog') results in a webfetch of the URL, and if that fails, curl is used to fetch the same URL.
- If I connect via typical Wifi networks (home, work, cafe etc) that do not support IPv6, then the webfetch works and curl is never called.
- If I connect via iPhone hotspot (iOS 26.5.2) then the webfetch fails, but curl succeeds. Error message is that DNS resolves to a blocked address, and opening up the full error shows that DNS resolved to an IPv6 address.

I think what is happening is that the network is dual stacked (IPv4 and IPv6 addresses both returned by DNS) and the scenario above gives a synthetic IPv6 address. Webfetch should (and does) block use of the synthetic address, but fails to revert to the valid IPv4 address, which it should do.

I am fairly sure I saw this behaviour in the previous app version, but don't have a record of the version number.

贡献指南

打开贡献指南

调研方向

首先,在通过 iPhone 热点连接时,于 macOS 上的 Copilot App v1.1.2 中重现 webfetch 失败,然后将其与典型的 Wi-Fi 网络和 curl fallback 进行比较。跟踪 DNS 返回被阻止的合成 IPv6 地址后 webfetch 的处理流程;完成的标准是它会重试或回退到有效的 IPv4 地址,而不是失败。

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, macos
领域
desktop, networking
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。