Integrate.api.nvidia.com hangs indefinitely when request is sent from a spawned/child process

Requests to https://integrate.api.nvidia.com/v1/chat/completions (model z-ai/glm-5.2) consistently hang until client-side timeout when the HTTP request is issued from a non-interactive/spawned process, while the identical request succeeds in under 1 second when run manually from an interactive terminal.

Environment:

  • OS: Windows 11
  • Tested with: curl (both Windows built-in C:\Windows\System32\curl.exe and Anaconda’s bundled curl.exe), Python 3.13 (requests and httpx libraries), Node.js 22 (node-fetch, and curl spawned via child_process.execFile)

Steps to reproduce:

  1. Run this manually in an interactive terminal — succeeds instantly, HTTP 200:
curl https://integrate.api.nvidia.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer <API_KEY>" -d "{\"model\": \"z-ai/glm-5.2\", \"messages\": [{\"role\": \"user\", \"content\": \"hi\"}]}"
  1. Run the exact same curl command from within a Node.js script via child_process.execFile, or from a Python script using requests/httpx — the request hangs until the client’s own timeout is reached (tested at 30s and 60s), with no response, no error status, and no data returned.

What we ruled out during diagnosis:

  • Not a firewall issue (checked Windows Defender Firewall inbound rules)
  • Not a proxy (netsh winhttp show proxy confirms direct access, no proxy configured)
  • Not IPv4/IPv6 (forced IPv4-only, same result)
  • Not HTTP/2 vs HTTP/1.1 (--http1.1 flag makes no difference in interactive mode; issue is unrelated to protocol negotiation)
  • Not third-party antivirus (only Windows Defender registered; confirmed via Security Center)
  • Not Windows Defender Network Protection (confirmed disabled via Get-MpPreference)
  • Not the specific curl binary (tested two separate curl.exe installations, same result)
  • A separate provider (MorphLLM, api.morphllm.com) works reliably via the identical spawned-process pattern, ruling out a general “scripted requests are blocked” explanation on our end the issue appears specific to NVIDIA’s endpoint’s handling of non-interactive client connections.

Impact: This makes integrate.api.nvidia.com unusable from any automated tooling, CI pipeline, backend service, or application on Windows that spawns requests programmatically, while working fine for manual testing which can be misleading during initial integration testing.