Skip to content

WebFetch 工具在中国大陆网络环境下完全不可用 #83

Description

@itmada

环境信息

  • ZCode 版本:最新版(2026年7月)
  • 操作系统:macOS (Apple Silicon)
  • 网络环境:中国大陆(有/无本地代理均测试过)

问题描述

WebFetch 工具对所有 URL 均返回相同错误,无法抓取任何网页:

Unable to verify if domain X is safe to fetch. This may be due to network restrictions or enterprise security policies blocking the domain check service.

已测试的 URL(全部失败)

  • example.com
  • baidu.com(国内网站)
  • zhihu.com(国内网站)
  • github.com
  • en.wikipedia.org
  • httpbin.org

初步判断

WebFetch 在发起抓取前会调用一个域名安全检查服务,该服务在中国大陆网络环境下不可达(疑似托管在 Google 等被 GFW 限制访问的基础设施上),且 WebFetch 不使用系统代理环境变量(http_proxy/https_proxy),导致所有抓取请求在第一步就被拦截。

期望

  • 希望 WebFetch 能支持通过系统代理连接安全检查服务
  • 或者在中国大陆网络环境下提供降级方案(如跳过安全检查 / 使用国内可达的检查服务)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions