You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Ubuntu + Docker CE] Linux onboarding for Ollama does not explain required container-reachable bind address #709
NV QABugs found by the NVIDIA QA TeamUATIssues flagged for User Acceptance Testing.area: local-modelsLocal model providers, downloads, launch, or connectivityarea: packagingPackages, images, registries, installers, or distributionarea: providersInference provider integrations and provider behaviorplatform: containerAffects Docker, containerd, Podman, or images
Ollama is detected because localhost:11434 responds, but onboarding later fails because containers cannot reach host.openshell.internal:11434.
Reproduction Steps
Start from an Ubuntu machine with Docker CE installed and running.
Install Ollama.
Start Ollama in a host-only way so it binds to loopback, for example using the default system service or any mode that results in:
ss -ltnp | grep 11434
showing:
127.0.0.1:11434
Opened PR #972 to document the Linux Docker host-reachability requirement for Local Ollama. The patch adds the missing 0.0.0.0:11434 bind guidance and explains that sandboxes reach the host service through http://host.openshell.internal:11434 rather than the host shell's loopback socket.
Thanks @JoyceChenNV for the detailed repro — this is now fixed in #1922 (merged).
Root cause was exactly what you identified: Ollama binding to 127.0.0.1 is correct from a security standpoint, but the sandbox container couldn't reach it, so onboarding failed at inference-provider setup. The fix keeps Ollama on 127.0.0.1:11434 and adds an authenticated reverse proxy on 0.0.0.0:11435. Containers now hit the proxy (reachable via host-gateway / host.docker.internal), which validates a per-instance Bearer token and forwards to Ollama. Onboard wires the token into the OpenShell provider credential automatically.
Should be available in v0.0.18. Please reopen if you hit anything related.
@prekshivyas Seems there is a regression issue after #1922: Onboarding then fails during inference-provider setup with invalid peer certificate: BadSignature
I am going to reopen this issue, could you please double check?
With a Spark machine from colossus.
[3/8] Configuring inference (NIM)
──────────────────────────────────────────────────
Detected local inference option: Ollama
Inference options:
1) NVIDIA Endpoints
2) OpenAI
3) Other OpenAI-compatible endpoint
4) Anthropic
5) Other Anthropic-compatible endpoint
6) Google Gemini
7) Local Ollama (localhost:11434) — running (suggested)
Choose [1]: 7
Warning: Ollama auth proxy did not start on :11435
✓ Using Ollama on localhost:11434 (proxy on :11435)
Ollama models:
1) qwen2.5:7b
2) Other...
Choose model [1]: 1
Loading Ollama model: qwen2.5:7b
Responses API available — OpenClaw will use openai-responses.
ℹ Using chat completions API (Ollama tool calls require /v1/chat/completions)
[4/8] Setting up inference provider
──────────────────────────────────────────────────
✓ Active gateway set to 'nemoclaw'
Error: × transport error
├─▶ invalid peer certificate: BadSignature
╰─▶ invalid peer certificate: BadSignature
Error: × transport error ├─▶ invalid peer certificate: BadSignature ╰─▶ invalid peer certificate: BadSignature
Hi @prekshivyas@cv@ericksoa, today I test on nemoclaw v0.0.26 with #2000 merged. However, it returns "run error: HTTP 401: Unauthorized" for localhost:11434 with local-inference policy enabled. Could you please double check?
Log:
sandbox@ollama:~$ curl -I http://host.openshell.internal:11434/api/tags
HTTP/1.1 403 Forbidden
sandbox@ollama:~$ openclaw agent --session-id ollama-local-test -m 'hello'
(node:7987) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:7995) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
🦞 OpenClaw 2026.4.2 (d74a122) — If it works, it's automation; if it breaks, it's a "learning opportunity."
│
◇
HTTP 401: Unauthorized
sandbox@ollama:~$ exit
exit
>$ nemoclaw ollama policy-list
Policy presets for sandbox 'ollama':
● brave — Brave Search API access
● brew — Homebrew (Linuxbrew) package manager access
● discord — Discord API, gateway, and CDN access
○ github — GitHub.com and GitHub API access (git, gh)
● huggingface — Hugging Face Hub, LFS, and Inference API access
● jira — Jira and Atlassian Cloud access
● local-inference — Local inference access (Ollama, vLLM) via host gateway
● npm — npm and Yarn registry access
● outlook — Microsoft Outlook and Graph API access
● pypi — Python Package Index (PyPI) access
● slack — Slack API, Socket Mode, and webhooks access
● telegram — Telegram Bot API access
changed the title [-][NeMoClaw][Ubuntu + Docker CE] Linux onboarding for Ollama does not explain required container-reachable bind address[/-][+][Ubuntu + Docker CE] Linux onboarding for Ollama does not explain required container-reachable bind address[/+]on Apr 22, 2026
NV QABugs found by the NVIDIA QA TeamUATIssues flagged for User Acceptance Testing.area: local-modelsLocal model providers, downloads, launch, or connectivityarea: packagingPackages, images, registries, installers, or distributionarea: providersInference provider integrations and provider behaviorplatform: containerAffects Docker, containerd, Podman, or images
Activity
fix: early Ollama validation — no-models guard + Linux bind address h…
fix: early Ollama validation — no-models guard + Linux bind address h…
wscurran commentedon Mar 25, 2026
✨ Possibly related open PRs: #819 feat: add Podman as supported container runtime for macOS and Linux, #679 fix: bind Ollama to localhost with authenticated reverse proxy, #635 fix(docker): set nemoclaw-start permissions to 755 for sandbox readability (fixes #622)
WuKongAI-CMU commentedon Mar 26, 2026
Opened PR #972 to document the Linux Docker host-reachability requirement for Local Ollama. The patch adds the missing
0.0.0.0:11434bind guidance and explains that sandboxes reach the host service throughhttp://host.openshell.internal:11434rather than the host shell's loopback socket.wscurran commentedon Apr 9, 2026
Is this closed by #1303 ?
6 remaining items
prekshivyas commentedon Apr 16, 2026
Thanks @JoyceChenNV for the detailed repro — this is now fixed in #1922 (merged).
Root cause was exactly what you identified: Ollama binding to
127.0.0.1is correct from a security standpoint, but the sandbox container couldn't reach it, so onboarding failed at inference-provider setup. The fix keeps Ollama on127.0.0.1:11434and adds an authenticated reverse proxy on0.0.0.0:11435. Containers now hit the proxy (reachable viahost-gateway/host.docker.internal), which validates a per-instance Bearer token and forwards to Ollama. Onboard wires the token into the OpenShell provider credential automatically.Should be available in v0.0.18. Please reopen if you hit anything related.
JoyceChenNV commentedon Apr 17, 2026
@prekshivyas Seems there is a regression issue after #1922: Onboarding then fails during inference-provider setup with
invalid peer certificate: BadSignatureI am going to reopen this issue, could you please double check?
With a Spark machine from colossus.
JoyceChenNV commentedon Apr 20, 2026
Hi @prekshivyas @cv @ericksoa, today I test on nemoclaw v0.0.26 with #2000 merged. However, it returns "run error: HTTP 401: Unauthorized" for localhost:11434 with local-inference policy enabled. Could you please double check?
Log:
fix: add auth proxy port to local-inference policy (#709) (#2114)
[-][NeMoClaw][Ubuntu + Docker CE] Linux onboarding for Ollama does not explain required container-reachable bind address[/-][+][Ubuntu + Docker CE] Linux onboarding for Ollama does not explain required container-reachable bind address[/+]