NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

[Window x86 WSL2][Regression] NemoClaw/OpenShell inference verification reports false connectivity failure for NVIDIA Endpoints during onboarding

Open zNeill opened this issue 8 months ago • 1 comments

Description

[Description]

During NemoClaw onboarding, inference setup for NVIDIA Endpoints fails at the verification step with an error saying it failed to connect to: https://integrate.api.nvidia.com/v1/chat/completions However, direct manual curl tests to the same endpoint succeed, and openshell inference set --no-verify also succeeds. This suggests the verification step is failing incorrectly even though the endpoint, credentials, and model are valid. Observed error:

Error:
× failed to verify inference endpoint for provider 'nvidia-prod' and model 'nvidia/nemotron-3-super-120b-a12b' at 'https://integrate.api.nvidia.com/v1': failed to connect to https://integrate.api.nvidia.com/v1/chat/completions: error sending request for url (https://integrate.api.nvidia.com/v1/chat/completions)

Sometimes, following error also occur, user need to choice multiple time:

  Choose [1]: 1

  Cloud models:
    1) Nemotron 3 Super 120B (nvidia/nemotron-3-super-120b-a12b)
    2) Kimi K2.5 (moonshotai/kimi-k2.5)
    3) GLM-5 (z-ai/glm5)
    4) MiniMax M2.5 (minimaxai/minimax-m2.5)
    5) Qwen3.5 397B A17B (qwen/qwen3.5-397b-a17b)
    6) GPT-OSS 120B (openai/gpt-oss-120b)
    7) Other...

  Choose model [1]: 2
  NVIDIA Endpoints endpoint validation failed.
  Responses API: HTTP 404: 404 page not found | Chat Completions API: HTTP 28 with no response body
  Please choose a provider/model again.

[Environment]

  • Device: Windows x86 WSL2
  • Node.js: v20.20.1
  • npm: 10.8.2
  • Docker: Docker Engine 29.3.0
  • OpenShell CLI: 0.0.15
  • NemoClaw: v0.1.0 (cec1e4)
  • OpenClaw: 2026.3.11 (29dc654)

Note: it can be reproducible with other environment intermittently

[Steps to Reproduce]

  1. Run: curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
  2. Proceed through onboarding and select NVIDIA Endpoints
  3. Use model: nvidia/nemotron-3-super-120b-a12b
  4. Observe failure during inference verification
  5. Run the equivalent direct curl POST to the same endpoint and observe HTTP 200 success
  6. Run openshell inference set ... --no-verify and observe success

Troubleshooting performed:

  1. DNS resolution works Command: getent hosts integrate.api.nvidia.com Result:
  • Domain resolved successfully to public IPs
  1. Base endpoint is reachable Command: curl -I --connect-timeout 10 https://integrate.api.nvidia.com/v1 Result:
  • Returned HTTP/2 404
  • This confirms network connectivity to the host
  1. Chat completions endpoint is reachable Command: curl -v --connect-timeout 15 https://integrate.api.nvidia.com/v1/chat/completions Result:
  • TLS handshake succeeded
  • Certificate verification succeeded
  • Server returned HTTP/2 405 Allow: POST
  • This confirms the endpoint is reachable and behaving correctly
  1. Direct POST with valid API key succeeds Command: curl -v https://integrate.api.nvidia.com/v1/chat/completions
    -H Authorization: Bearer
    -H Content-Type: application/json
    -d '{ model : nvidia/nemotron-3-super-120b-a12b , messages :[{ role : user , content : hello }], max_tokens :10}' Result:
  • Returned HTTP/2 200
  • nvcf-status: fulfilled
  • Valid response payload returned from model nvidia/nemotron-3-super-120b-a12b This confirms:
  • endpoint is reachable
  • TLS/certificates are fine
  • API key is valid
  • model name is valid
  • NVIDIA service is functioning
  1. openshell inference set fails only when verification is enabled Command: openshell inference set --provider nvidia-prod --model nvidia/nemotron-3-super-120b-a12b Result:
  • fails with failed to verify inference endpoint / failed to connect
  1. openshell inference set succeeds when verification is skipped Command: openshell inference set
    --provider nvidia-prod
    --model nvidia/nemotron-3-super-120b-a12b
    --no-verify Result: Gateway inference configured: Route: inference.local Provider: nvidia-prod Model: nvidia/nemotron-3-super-120b-a12b Version: 1 Conclusion:
  • The NVIDIA endpoint is healthy and reachable from the same environment.
  • Credentials are valid.
  • The model is valid.
  • Provider/model configuration succeeds when verification is bypassed.
  • The failure appears to be specific to the OpenShell/NemoClaw inference verification path, and the error message is misleading because it reports a connectivity failure even though connectivity is working.

[Expected Behavior] Onboarding should be successful

Steps to reproduce

No steps provided.


[NVB# 6017804]

[NVB#6017804]

zNeill avatar Mar 26 '26 21:03 zNeill

Confirmed on WSL2 — use --no-verify to bypass the false failure

Same issue on WSL2 (Docker Desktop, NVIDIA Cloud API). The verification step reports failure even when the endpoint is fully functional and curl succeeds.

Workaround — skip verification when setting inference:

openshell inference set --provider your-provider --model your-model --no-verify

The --no-verify flag skips the connectivity probe and sets the inference route directly. Everything works normally after that — the false negative is only in the verification step, not in actual inference routing.

We also add --no-verify in our startup script that re-sets inference after every reboot, since the verification timeout can add 30+ seconds to startup time unnecessarily.

dknos avatar Mar 30 '26 02:03 dknos