Repository navigation
Description
Description
macOS Apple Silicon (M4)
Telegram and Discord both fail with "Network request failed"
Policy presets are added but proxy returns 403
- Uses proxy env variable no_proxy == '127.0.0.1,localhost,::1'
- Uses proxy env variable https_proxy == 'http://10.200.0.1:3128'
- Trying 10.200.0.1:3128...
- Connected to 10.200.0.1 (10.200.0.1) port 3128 (#0)
- allocate connect buffer
- Establish HTTP proxy tunnel to discord.com:443
CONNECT discord.com:443 HTTP/1.1
Host: discord.com:443
User-Agent: curl/7.88.1
Proxy-Connection: Keep-Alive
< HTTP/1.1 403 Forbidden
<
- CONNECT tunnel failed, response 403
- Closing connection 0
curl: (56) CONNECT tunnel failed, response 403
This was from inside the sandbox. The same thing is happening for Telegram — the proxy at 10.200.0.1:3128 is blocking all outbound connections with a 403 even though the policies were added. Include this in your GitHub issue along with the Telegram log errors showing the repeated "Network request failed" messages.
Reproduction Steps
Here's what to include in your GitHub issue:
Steps to reproduce:
Install NemoClaw on macOS (Apple Silicon M4, 24GB unified memory)
curl -fsSL https://nvidia.com/nemoclaw.sh | bash
Complete nemoclaw onboard — select NVIDIA Cloud API with Nemotron 3 Super 120B, accept suggested presets (pypi, npm)
Add Telegram policy:
nemoclaw my-assistant policy-add telegram
Connect to sandbox and configure Telegram channel via openclaw onboard, entering a valid BotFather bot token
Start gateway — Telegram fails with repeated "Network request for 'deleteWebhook' failed!" every 30 seconds
Test network from inside sandbox:
curl -v https://api.telegram.org 2>&1
Result: OpenShell proxy at 10.200.0.1:3128 returns HTTP 403 Forbidden on CONNECT tunnel
Expected: Policy preset should allow outbound HTTPS to Telegram API endpoints
Actual: Proxy blocks all outbound HTTPS with 403 despite policy being applied and confirmed via nemoclaw my-assistant policy-list
Same behavior with Discord — policy-add discord also does not update proxy allowlist
Environment:
macOS, Apple Silicon M4, 24GB unified memory
Docker Desktop (Apple Silicon)
openshell 0.0.11
OpenClaw 2026.3.11
NemoClaw installed via nvidia.com/nemoclaw.sh
Opus 4.6
Environment
Here's the environment section for your GitHub issue:
Environment:
OS: macOS (Apple Silicon M4, 24GB unified memory)
Node.js: v22.22.1
npm: 10.9.4
Docker: Docker Desktop for Mac (Apple Silicon)
OpenShell CLI: 0.0.11
OpenClaw: 2026.3.11
NemoClaw: 0.1.0 (installed via curl -fsSL https://nvidia.com/nemoclaw.sh | bash)
Sandbox image: openshell/sandbox-fr
Inference: NVIDIA Cloud API — nvidia/nemotron-3-super-120b-a12b
Sandbox name: my-assistant (default from onboard wizard)
Shell: zsh
Docker version 29.2.1, build a5c7197
Logs
Checklist
- I confirmed this bug is reproducible
- I searched existing issues and this is not a duplicate
Activity
Bilguunzayaa commentedon Mar 20, 2026
Same issue here on Windows 11 / WSL2 (Ubuntu). Docker Desktop 29.2.1, openshell 0.0.11, OpenClaw 2026.3.11. Policy presets (discord, telegram) show as applied via nemoclaw moon policy-list and openshell policy get shows version 5 loaded, but proxy still returns 403 on all outbound HTTPS including npm/pypi
eddie-schick commentedon Mar 23, 2026
Root cause identified: OPA binary allowlist not populated by preset policies
I'm seeing the same behavior on an NVIDIA DGX Spark (DGX OS 7.4.0, ARM/Grace Blackwell). After deep investigation on the host side, I found the specific mechanism causing the 403s.
The proxy's OPA engine checks two things for every HTTPS CONNECT request:
Preset policies (telegram, discord, slack, outlook, jira, etc.) correctly configure the endpoint allowlist but do not populate the binaries field. The OPA engine treats an empty binaries list as "no binary is allowed," so every request is denied regardless of endpoint match.
Environment: DGX Spark, DGX OS 7.4.0 (Ubuntu-based, kernel 6.17.0), NemoClaw 0.1.0, OpenClaw sandbox
cortexj commentedon Mar 24, 2026
Cross-Platform Verification, Complete Diagnostic, and Working Workaround
Confirming @eddie-schick's root cause on a third platform. Eddie identified the OPA binary allowlist gap on DGX Spark (ARM/Grace Blackwell). @Bilguunzayaa reported the same on WSL2. I independently reproduced and resolved it on x86_64 Linux (Pop!_OS, RTX 4090, OpenShell 0.0.13) — Telegram and Discord both return
200 Connection Establishedafter applying the fix below.This is the same defect family documented in #272, #391, #396, #585, #676, and #685. The communication preset templates ship without
binariesentries. The upstream fix is tracked in PRs #273, #317, #645, and #677 — none merged as of this writing. The workaround below works immediately on current releases.Root Cause (confirmed via OPA deny logs)
The proxy matched
api.telegram.org:443to thetelegrampolicy block (endpoint match ✅), but denied the request because the preset has nobinariesfield — so no executable is authorized to use the endpoint.Verified with
openshell policy get my-assistant --full: every working preset (claude_code,github,nvidia,npm_registry) includesbinaries. Every broken preset (telegram,telegram_bot,discord) omits it entirely.Workaround (immediate, no sandbox recreation)
Step 1 — Pull the currently loaded policy:
Step 2 — Strip the metadata header (first 7 lines) to get pure YAML:
Step 3 — Add a
binariesblock to each affected preset (telegram,telegram_bot,discord, etc.). Insert this above theendpoints:line in each affected section:Step 4 — Push and wait for the Rego engine to reload:
Step 5 — Verify from inside the sandbox:
Expected:
HTTP/1.1 200 Connection Established. Hot-reload takes effect in under 5 seconds. No sandbox destruction, no re-onboard, no gateway restart.Verification Results
Ref: Policy Schema —
binariesfield · Policy hot-reload workflowLuis Jordi Sereix Co-Founder & Technical Lead — AI Agent Security & Infrastructure ClawBastion™ · clawbastion.com 2J Tech Ventures LLC · Dallas-Fort Worth, TX
## Cross-Platform Verification, Complete Diagnostic, and Working WorkaroundConfirming @eddie-schick's root cause on a third platform. Eddie identified the OPA binary allowlist gap on DGX Spark (ARM/Grace Blackwell). @Bilguunzayaa reported the same on WSL2. I independently reproduced and resolved it on x86_64 Linux (Pop!_OS, RTX 4090, OpenShell 0.0.13) — Telegram and Discord both return
200 Connection Establishedafter applying the fix below.This is the same defect family documented in #272, #391, #396, #585, #676, and #685. The communication preset templates ship without
binariesentries. The upstream fix is tracked in PRs #273, #317, #645, and #677 — none merged as of this writing. The workaround below works immediately on current releases.Root Cause (confirmed via OPA deny logs)
The proxy matched
api.telegram.org:443to thetelegrampolicy block (endpoint match ✅), but denied the request because the preset has nobinariesfield — so no executable is authorized to use the endpoint.Verified with
openshell policy get my-assistant --full: every working preset (claude_code,github,nvidia,npm_registry) includesbinaries. Every broken preset (telegram,telegram_bot,discord) omits it entirely.Workaround (immediate, no sandbox recreation)
Step 1 — Pull the currently loaded policy:
Step 2 — Strip the metadata header (first 7 lines) to get pure YAML:
tail -n +8 policy.yaml > fix-policy.yamlStep 3 — Add a
binariesblock to each affected preset (telegram,telegram_bot,discord, etc.). Insert this above theendpoints:line in each affected section:Step 4 — Push and wait for the Rego engine to reload:
Step 5 — Verify from inside the sandbox:
Expected:
HTTP/1.1 200 Connection Established. Hot-reload takes effect in under 5 seconds. No sandbox destruction, no re-onboard, no gateway restart.Verification Results
telegrambe5d259f4524)telegram_botdiscordd59389360561)Environment
nemoclaw onboardmy-assistant, Nemotron 3 Super 120B via NVIDIA Cloud APIRelated Issues
binaries(priority: high)/usr/local/bin/nodeopenclawruns asnodevia shebangbinariesRef: Policy Schema —
binariesfield · [Policy hot-reload workflow](https://docs.nvidia.com/openshell/latest/sandboxes/policies.html)Luis Jordi Sereix
Co-Founder & Technical Lead — AI Agent Security & Infrastructure
ClawBastion™ · Dallas-Fort Worth, TX
[clawbastion.com]
eddie-schick commentedon Mar 24, 2026
Confirmed working on DGX Spark (ARM/Grace Blackwell, OpenShell 0.0.11). Applied the binaries workaround to the telegram preset, pushed policy v12, got 200 Connection Established immediately. Thanks @cortexj for the detailed write-up — this unblocked Telegram for us after being stuck since March 20.
fix(e2e): update log-reading helpers for rolling file appender (NVIDI…
dknos commentedon Mar 30, 2026
Confirmed on WSL2 — and found an additional
binariesgap for Python-based tools.The workaround from @cortexj works. Confirmed on WSL2 (Ubuntu, Docker Desktop, OpenShell 0.0.11) for Telegram and Discord after adding
node/curlto the binaries list.Additional issue we hit: Python scripts (image generation, API calls via
python3) were also 403ing despite endpoint policies being applied. The sandbox Python binary lives at a non-standard path that isn't covered by the typical/usr/bin/python3entry.We had to add these paths to every policy block that Python scripts call through:
The exact
.uvpath varies by Python version and arch — you can find yours with:Without these entries,
python3 script.pythat makes HTTPS requests to allowed endpoints still gets 403 at the proxy layer, even though the endpoint is in the allowlist. Same root cause as the node/curl gap.b1skit commentedon Apr 8, 2026
I can confirm this worked for Discord for me as well. Ubuntu server 25.10.
In case this is useful, I found my binary paths with:
which openclawwhich nodewhich curlAnd was able to confirm the fix with
curl -v https://discord.com/api/v10/gateway 2>&1curl -v 'https://gateway.discord.gg/?v=10&encoding=json' 2>&1latenighthackathon commentedon Apr 9, 2026
PR #1652 is up with a narrow fix for this — adds
/usr/bin/nodealongside the existing/usr/local/bin/nodein the telegram, discord, slack, outlook, jira, and huggingface presets (and/usr/bin/python3for huggingface). Same Debian/Ubuntu apt vs manual-install path split that the workaround in this thread covers, just baked into the shipped presets.ericksoa commentedon May 5, 2026
Thanks to everyone who reproduced this across platforms and narrowed it to the policy binary allowlist behavior.
Closing this as completed. The original Discord/Telegram 403 behavior from this issue was addressed by later policy work, including:
Current
mainalso includes both/usr/local/bin/nodeand/usr/bin/nodein the Telegram/Discord preset paths, which covers the Debian/Ubuntu Node path split discussed in this thread.