Repository navigation
Description
Description
Description
After onboarding NemoClaw with the “Ollama (local)” provider and keeping the default local-inference policy preset enabled, the sandbox cannot reach the local Ollama instance via the documented internal host alias. From inside the sandbox, both:
curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11434/api/tags
curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11435/api/tags
return 403 instead of the expected 200. This breaks the “Use a Local Inference Server (Ollama)” workflow, where 11434 should expose GET /api/tags and 11435 should be reachable through the local-inference network policy/auth proxy. On the host, Ollama is running and reachable on localhost:11434, and NemoClaw onboarding with the Ollama provider completes without error, but the sandbox still sees 403 Forbidden from both ports, indicating the current policy/pipeline is blocking or misrouting internal HTTP access to Ollama
Reproduction Steps1. Run: nemoclaw onboard
2. In the provider selection wizard, select 'Ollama (local)'
3. Complete the model and configuration steps
4. At Step 8 (Policy presets), observe the pre-selected checkboxes
5. Verify 'local-inference' is pre-checked alongside 'pypi' and 'npm'
6. Accept the defaults (keep local-inference checked) and complete onboard
7. Run: nemoclaw connect
8. Inside the sandbox, run: curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11434/api/tags
8b. [Linux non-WSL only] Inside the sandbox, run: curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11435/api/tags
9. Run: openclaw agent --session-id ollama-local-test -m 'hello'
Actual Result
Both 11434 and 11435 returning 403 means the sandbox’s network policy is not allowing the Ollama endpoints; Step 8/8b currently fails.
8 (macOS + Linux) curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11434/api/tags # expected: 200 # actual: 403
8b (Linux non-WSL only) curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11435/api/tags # expected: 200 # actual: 403
Interpretation for this test case:
- “curl… returns HTTP 200 with a JSON body listing available local models” → NOT met (403).
-
“curl… to 11435 returns HTTP 200 — confirms the auth proxy port is permitted by the
local-inferencepolicy (a 403 here indicates the policy preset is missing the 11435 entry)” → also NOT met, consistent with a missing/wronglocal-inferencenetwork policy.
Expected Result
- Policy preset checkbox list is displayed
- 'local-inference' is pre-checked; 'pypi' and 'npm' are also pre-checked
- Onboard completes successfully
- curl to port 11434 returns HTTP 200 with a JSON body listing available local models
8b. [Linux non-WSL only] curl to port 11435 returns HTTP 200 — confirms the auth proxy port is permitted by thelocal-inferencepolicy (a 403 here indicates the policy preset is missing the 11435 entry) - Agent returns a non-empty inference response
- Clean exit with no errors
Environment:- Platform: Spark
- NemoClaw: v0.0.21
- OpenShell CLI: 0.0.26
- Node.js: 22.22.2
Possible Solution:
If we want to fix this so the next run matches the expected outputs, a minimal network policy YAML snippet can be added (or need to check into the NemoClaw policy file) to allow:
-
host.openshell.internal:11434 -
host.openshell.internal:11435
for the relevant binaries (openclaw, node, etc.).
Bug Details
| Field | Value |
|---|---|
| Priority | Unprioritized |
| Action | Dev - Open - To fix |
| Disposition | Open issue |
| Module | Machine Learning - NemoClaw |
| Keyword | NemoClaw, NEMOCLAW_GH_SYNC_APPROVAL, NemoClaw_Upgrade |
[NVB#6101209]
Activity
ConradSollitt commentedon Apr 22, 2026
Hi,
This looks similar to my issue. I am on a DGX Spark and currently going through this tutorial: https://build.nvidia.com/spark/nemoclaw/instructions
On Step 2 I can verify Ollama is running using command
curl http://0.0.0.0:11434and I chatted with it to verify that it is usingnemotron-3-super:120b.On Step 5 I can connect using
nemoclaw my-assistant connectbut when I runcurl -sf https://inference.local/v1/modelsnothing comes back.I confirmed the NemoClaw setup as the
local-inferencepolicy enabled.My DGX Spark is clean and doesn't have a lot installed on it (Chromium, VS Code, Python Packages). I would be happy to provide logs, info from my system, or any help that I can for this issue.
[-][NemoClaw][All Platforms] local-inference policy preset missing Ollama ports 11434/11435 (403 from sandbox)[/-][+][All Platforms] local-inference policy preset missing Ollama ports 11434/11435 (403 from sandbox)[/+]BenediktSchackenberg commentedon Apr 22, 2026
Filed a fix in #2295 — adds
curl,node, andpython3to the allowed binaries in thelocal-inferencepreset so testing with curl and using non-openclaw inference clients works out of the box.fix: remove incorrect extensions symlink from Dockerfile
PrachiShevate-nv commentedon Apr 28, 2026
We are still able to reproduce this issue on Nemoclaw v0.0.28, reopening the issue. Please let me know if any information is required.
curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11434/api/tags
403
curl -s -o /dev/null -w "%{http_code}" http://host.openshell.internal:11435/api/tags
403
8 remaining items
fix(policy): allow local inference host gateway (#2993)
PrachiShevate-nv commentedon May 8, 2026
Verified on NemoClaw v0.0.37, issue does not exist. Closing the bug.