Skip to content

Onboarding fails applying policy presets with an OpenShell HTTP/2 stream reset #8991

Closed

Description

@senthilr-nv

Investigation Summary

  • A clean portable onboarding run reaches step 8 of 8 and fails when NemoClaw invokes openshell policy set.
  • The failure reproduced twice on the same portable Linux host and commit.
  • OpenShell 0.0.101 remains connected and the sandbox remains Ready, but NemoClaw records the policies step and onboarding session as failed and resumable.
  • The client reports a generic HTTP/2 PROTOCOL_ERROR, while the gateway records UpdateConfig as HTTP 200 with gRPC status 9. The client output hides the authoritative application error.
  • It is unknown whether invalid composed policy input, OpenShell server handling, or client decoding of the non-OK gRPC response causes the failure.

Description

During portable onboarding, all earlier stages complete and the sandbox becomes Ready, but applying the default policy presets fails. openshell policy set exits 1 with a generic HTTP/2 stream reset, and NemoClaw cannot complete onboarding.

Expected: policy application succeeds. If OpenShell rejects the composed policy, the CLI preserves the authoritative gRPC status and message, and NemoClaw prints actionable resume guidance. A non-OK policy response must not surface only as an HTTP/2 protocol error.

Reproduction Steps

  1. On a clean Linux host with rootless Podman 5.7.0, install NemoClaw from main.

  2. Run:

    nemoclaw onboard --experimental-profile portable --fresh --yes-i-accept-third-party-software
  3. Configure the default local Ollama provider with model qwen3-vl:4b.

  4. Let onboarding create my-assistant and apply the default policy presets.

  5. Observe step 8 of 8 fail at:

    /usr/local/bin/openshell policy set --policy /tmp/nemoclaw-policy-.../policy
  6. Run the same onboarding command again and observe the same failure.

Environment

  • OS: Ubuntu Linux x86_64, kernel 6.11.0-1016-nvidia
  • Hardware: NVIDIA L40S
  • Node.js: 22
  • Container runtime: rootless Podman 5.7.0
  • NemoClaw: main commit 14c6d777a1333693ab1749ec926f87d58d0e25c5
  • OpenShell: 0.0.101
  • Profile: experimental portable
  • Agent/provider/model: OpenClaw / ollama-local / qwen3-vl:4b

Debug Output

Redacted nemoclaw debug --quick evidence:

  • OpenShell connected and authenticated, version 0.0.101.
  • my-assistant phase: Ready.
  • Onboarding session: failed and resumable.
  • lastCompletedStep: openclaw.
  • policies status: failed.
  • The default preset list contains 25 presets.

Logs

Error: code: 'Internal error', message: 'h2 protocol error: http2 error', source:
tonic::transport::Error(Transport, hyper::Error(Http2, Error { kind:
Reset(StreamId(3), PROTOCOL_ERROR, Library) }))
Command failed (exit 1): /usr/local/bin/openshell policy set --policy /tmp/nemoclaw-policy-.../policy

Gateway evidence:

UpdateConfig request completed at HTTP 200 with gRPC status 9.

Checklist

  • I confirmed this bug is reproducible
  • I searched existing issues and this is not a duplicate

Current Status

Merged PR #8994 is an incomplete intermediate reduction of the portable policy preset selection. It does not resolve this issue.

Exact live validation with OpenShell 0.0.101 still fails during policy application. The hostless personal-open-internet endpoint on ports 80 and 443 overlaps these mandatory exact-host policy entries:

  • nvidia
  • openclaw_api
  • openclaw_docs
  • npm_registry
  • managed_inference
  • clawhub

OpenShell rejects their conflicting connection and L7 metadata.

NemoClaw has no policy-only representation that preserves the complete semantics of the Personal policy tier with OpenShell 0.0.101. Resolution is blocked on an OpenShell endpoint capability, such as explicit exclusions. OpenShell must apply the capability consistently during authorization, ambiguity validation, and runtime configuration selection.

After that capability is available, NemoClaw must update its pinned OpenShell version. Validation must then complete fresh onboarding through policy application and one real chat turn.

Activity

  1. added theissue type on Aug 13, 2026
  2. self-assigned this
    on Aug 13, 2026
  3. added a commit that references this issue on Aug 13, 2026
    8ee1209
  4. added
    area: onboarding
    area: policy
    area: sandbox
    on Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: onboardingarea: policyarea: sandbox

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions