Skip to content

web_fetch still rejects public URLs resolved to Surge Fake-IP on CLI 1.0.114 #5544

Backlog

Description

@cchen7

Describe the bug

Follow-up to #5180, which was closed as completed. The same failure still reproduces on the latest stable CLI as of 2026-11-21. On macOS with Surge Enhanced Mode / Fake-IP DNS, the built-in web_fetch rejects public HTTPS URLs when the system resolver returns a synthetic address in 198.18.0.0/15.

The retest was also posted on the original issue: #5180 (comment).

Affected version

GitHub Copilot CLI 1.0.114.

Steps to reproduce the behavior

  1. Enable Surge Enhanced Mode with Fake-IP DNS on macOS.
  2. Check the system DNS results with python3 -c 'import socket; print(socket.gethostbyname("lobehub.com")); print(socket.gethostbyname("docs.github.com"))'.
  3. Invoke Copilot CLI's built-in web_fetch on the following public URLs.
Public URL System DNS result Observed error
https://lobehub.com/skills/vinitu-macos-music-skill (original reproduction) 198.18.3.250 WebFetchBlockedUrlError: ... resolves to blocked address 198.18.3.250
https://docs.github.com/en/copilot/reference/ai-models/model-comparison 198.18.3.249 WebFetchBlockedUrlError: ... resolves to blocked address 198.18.3.249

Expected behavior

Provide or document a supported way for web_fetch to retrieve public HTTPS pages in a Fake-IP proxy setup without requiring per-domain DNS exceptions or weakening protections for actual private, loopback, link-local, or otherwise unsafe destinations.

Additional context

web_search returned results in the same session. The failure shown above is specific to web_fetch URL validation, before the page is retrieved.

Activity

  1. mbaker-prgs commented on Nov 21, 2026

    @mbaker-prgs

    thisis incredibly annoying and is breaking process flow to disallow 10.* ip addersses. need a way to fix this

  2. mbaker-prgs commented on Nov 21, 2026

    @mbaker-prgs

    i'm now having to use curl to bypass this

  3. added
    area:networkingProxy, SSL/TLS, certificates, corporate environments, and connectivity issues
    area:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior
    and removed on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:networkingProxy, SSL/TLS, certificates, corporate environments, and connectivity issuesarea:toolsBuilt-in tools: file editing, shell, search, LSP, git, and tool call behavior

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions