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-inC:\Windows\System32\curl.exeand Anaconda’s bundledcurl.exe), Python 3.13 (requestsandhttpxlibraries), Node.js 22 (node-fetch, andcurlspawned viachild_process.execFile)
Steps to reproduce:
- 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\"}]}"
- Run the exact same curl command from within a Node.js script via
child_process.execFile, or from a Python script usingrequests/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 proxyconfirms direct access, no proxy configured) - Not IPv4/IPv6 (forced IPv4-only, same result)
- Not HTTP/2 vs HTTP/1.1 (
--http1.1flag 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.