Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

WebFetch fails when internet access is available only through a system proxy

未关闭
#4,000 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃

调研方向

Start by locating the WebFetch implementation and comparing its proxy handling with the GitHub Copilot CLI behavior described in the issue. Reproduce the failure with a system-configured proxy; done means WebFetch can retrieve external URLs through that proxy without the host-resolution error.

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

描述

triage
Short summary

In environments where outbound internet connectivity is provided via a system-configured proxy, the WebFetch tool fails to access external URLs and returns a host resolution error.

Affected version or release

v1.1.22

Installation context

No response

What happened?

When the GitHub Copilot agent attempts to retrieve content from a URL using the WebFetch tool, the request fails with the following error:

WebFetchBlockedUrlError: No such host is known. (os error 11001)

This occurs even when internet connectivity is available and functional through a properly configured system proxy.

Steps to reproduce
  1. Configure internet access through a system proxy.
  2. Start a GitHub Copilot agent session.
  3. Ask the agent to research a topic that requires fetching information from an external URL.
  4. Observe that the agent invokes the WebFetch tool and the request fails with: WebFetchBlockedUrlError: No such host is known. (os error 11001)
Expected behavior

When a system proxy is configured, WebFetch should honor the operating system's proxy settings and route outbound requests through the proxy.

The behavior should be consistent with GitHub Copilot CLI, where web access works successfully in the same environment using the configured proxy.

Additional context

WebFetchBlockedUrlError: No such host is known. (os error 11001)

GitHub Copilot CLI can successfully perform web access in the same environment through the configured proxy.

The issue appears specific to the WebFetch implementation not honoring system proxy settings, all other features in Copilot app works.

主要语言
没有语言数据
星标
2.1k
派生
157
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/app 的其他 Issue

查看 github/app 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

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