Skip to content

[All Platforms] local-inference policy preset missing Ollama ports 11434/11435 (403 from sandbox) #2199

Description

@zNeill

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-inference policy (a 403 here indicates the policy preset is missing the 11435 entry)” → also NOT met, consistent with a missing/wrong local-inference network policy.

Expected Result

  1. Policy preset checkbox list is displayed
  2. 'local-inference' is pre-checked; 'pypi' and 'npm' are also pre-checked
  3. Onboard completes successfully
  4. 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 the local-inference policy (a 403 here indicates the policy preset is missing the 11435 entry)
  5. Agent returns a non-empty inference response
  6. 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

  1. added
    NV QA
    on Apr 21, 2026
  2. added
    provider: ollama
    and removed on Apr 21, 2026
  3. ConradSollitt commented on Apr 22, 2026

    @ConradSollitt

    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:11434 and I chatted with it to verify that it is using nemotron-3-super:120b.

    On Step 5 I can connect using nemoclaw my-assistant connect but when I run curl -sf https://inference.local/v1/models nothing comes back.

    I confirmed the NemoClaw setup as the local-inference policy 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.

  4. changed the title [-][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)[/+] on Apr 22, 2026
  5. BenediktSchackenberg commented on Apr 22, 2026

    @BenediktSchackenberg
    Contributor

    Filed a fix in #2295 — adds curl, node, and python3 to the allowed binaries in the local-inference preset so testing with curl and using non-openclaw inference clients works out of the box.

  6. PrachiShevate-nv commented on Apr 28, 2026

    @PrachiShevate-nv
  7. 8 remaining items

  8. self-assigned this
    on May 4, 2026
  9. added a commit that references this issue on May 5, 2026
    432c0f2
  10. PrachiShevate-nv commented on May 8, 2026

    @PrachiShevate-nv

    Verified on NemoClaw v0.0.37, issue does not exist. Closing the bug.

  11. added
    area: local-models
    area: providers
    and removed on Jun 3, 2026
  12. added theissue type on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAarea: local-modelsarea: providersprovider: ollama

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions