Skip to content

WebFetch fails to access external URL - Claude Desktop

Quick fix

Add "coworkEgressAllowedHosts": ["*"] to the Claude Desktop 3P gateway profile generated by CC Switch.

Error output
WebFetch 访问外部 URL 失败。
English translation

WebFetch fails to access external URLs.

When Claude Desktop uses a third-party Claude/Anthropic-compatible provider through the CC Switch local gateway, Cowork's WebFetch cannot access external URLs. The issue is related to the Cowork sandbox's permission for accessing external hosts.

  1. Add `"coworkEgressAllowedHosts": ["*"]` to the Claude Desktop 3P gateway profile generated by CC Switch, then use Cowork WebFetch to access the external webpage again.

ToolClaude Desktop
VersionUnknown
PlatformsmacOS

(No FAQ yet)

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.