Skip to content

Local macOS install: sandbox outbound web access blocked by injected proxy returning 403 #437

Closed

Description

@shiningxue-lang

Environment

  • Host: macOS, personal machine, separate user account
  • Install: local NemoClaw install
  • Sandbox prompt shows: sandbox@my-assistant:~$

What happened
OpenClaw starts and NemoClaw registers successfully, but outbound web access from the sandbox fails before the model/tool can fetch external pages.

Evidence

  1. web_fetch failure:
    [tools] web_fetch failed: getaddrinfo EAI_AGAIN example.com

  2. Proxy variables inside the sandbox:
    no_proxy=127.0.0.1,localhost,::1
    grpc_proxy=http://10.200.0.1:3128
    NODE_USE_ENV_PROXY=1
    https_proxy=http://10.200.0.1:3128
    NO_PROXY=127.0.0.1,localhost,::1
    HTTPS_PROXY=http://10.200.0.1:3128
    HTTP_PROXY=http://10.200.0.1:3128
    http_proxy=http://10.200.0.1:3128
    ALL_PROXY=http://10.200.0.1:3128

  3. HTTPS request from inside the sandbox:
    curl -v https://example.com

Output:

CONNECT example.com:443 HTTP/1.1
< HTTP/1.1 403 Forbidden

  • CONNECT tunnel failed, response 403
    curl: (56) CONNECT tunnel failed, response 403
  1. HTTP request from inside the sandbox:
    curl -v http://example.com

Output:

GET http://example.com/ HTTP/1.1
< HTTP/1.1 403 Forbidden

Interpretation
This looks like the local sandbox/runtime is injecting mandatory proxy settings, and outbound HTTP/HTTPS traffic is being denied by that proxy. The failure appears to be below the model/prompt/tool logic.

Question
Where are these proxy settings coming from in the local macOS sandbox/runtime, and how can they be disabled or corrected so web tools can reach external sites?

Activity

  1. added
    platform: macos
    on Mar 19, 2026
  2. beckxie commented on Mar 20, 2026

    @beckxie

    Two parts:

    1. web_fetch failed: Web tools (e.g. web_fetch and web_search) don’t seem to be working.
      See related issues:

    2. 403 Forbidden: Approval is required.
      Refer to Agent cannot reach an external host

      Agent cannot reach an external host
      OpenShell blocks outbound connections to hosts not listed in the network policy. Open the TUI to see blocked requests and approve them:

      openshell term
      
  3. latenighthackathon commented on Jun 24, 2026

    @latenighthackathon
    Collaborator

    Hi @shiningxue-lang, thanks for raising this. This one has been open a while: 67 releases have shipped since it was filed (we are now on v0.0.67), and it looks like it may have been patched via #1062 and #1207, which add an automatic sandbox DNS bridge for web tools (the getaddrinfo EAI_AGAIN failure) and extend the CoreDNS fix to macOS/Colima. Could you check to confirm it fixes your issue on the latest version? Closing this for now, but if you are still seeing it, feel free to reopen. The separate CONNECT 403 is expected network-policy behavior (approve the host via openshell term). Cheers!

  4. added
    needs: info
    on Jun 24, 2026
  5. added
    area: networking
    on Nov 17, 2026
  6. added theissue type on Nov 17, 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: networkingneeds: infoplatform: macos

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions