[VDR][v0.8.0] ERR-3a7999da · An unreachable model endpoint is reported as 'Model HTTP 500' with a raw connection-error repr
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
Research direction
Read nemo_gym/server_runtime/base_server.py around line 669, then inspect the exception handler and its existing error response tests. Trace how connection errors reach the CLI and check how related issue #7185 handles model boundary errors. Done means unreachable model endpoints produce a typed connection failure that names policy_base_url and does not claim an HTTP status.
Written by the indexing model from the issue text.
Description
Severity: 🟡 medium | Category: Error Handling | Finding ID: ERR-3a7999da
Location: nemo_gym/server_runtime/base_server.py:669
Problem
With the model endpoint down, the run now fails within about 5 s, which is good. But the CLI message is:
Model HTTP 500: "ClientConnectorError(ConnectionKey(host='127.0.0.1', port=14155, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, ...
The server's exception handler returns repr(e) with status 500 (:669). No HTTP response was received, so "HTTP 500" is wrong, and the message neither mentions policy_base_url nor says that nothing is listening. The Model Server log also prints a banner saying the exception repr "is returned to the model" (:665), which is confusing in a Model Server.
Suggested fix
In the Model Server, map ClientConnectorError and ClientOSError to a typed failure such as Cannot connect to model endpoint http://127.0.0.1:14155/v1 (connection refused). Check policy_base_url and that the server is running. Don't label it with an HTTP status.
Related: #7185 (malformed JSON from the model endpoint, also reported as "Model HTTP 500"). Fixing both together gives errors at the model boundary one shape.
Found by the error-quality-auditor critic in DX review Gym-1-20261110220030 (v0.8.0 cycle) at de6c919bb. Rechecked on main at 64d738eca on 2 Dec 2026: the handler still returns repr(e) with status 500. Parent tracker #2214.
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 490
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 386
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA-NeMo/Gym
-
area:cli area:docs Platform vdr
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-NeMo/Gym#7192 ·
Maintainers usually reply within 2 days
-
Agents area:docs vdr
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-NeMo/Gym#7187 · 1 comment ·
Maintainers usually reply within 2 days
-
area:docs documentation Platform Ray vdr
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-NeMo/Gym#7186 ·
Maintainers usually reply within 2 days
-
area:docs Environment & Benchmarks vdr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NVIDIA-NeMo/Gym#7184 ·
Maintainers usually reply within 2 days
-
area:docs documentation Environment & Benchmarks vdr
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
NVIDIA-NeMo/Gym#7182 ·
Maintainers usually reply within 2 days
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
nael5x/creative-ai#130 ·
-
Make the "%" unit spacing the same in the web and in A10Possibly taken @kragent66-glitch claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
maiychrus25/OpenTea-DX-OS#226 · 1 comment ·
-
ci severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TMHSDigital/Spackle#205 ·
Maintainers usually reply within 1 day
-
pkg:lgm type:chore upstream-gaussx
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jejjohnson/pyrox#610 ·
Maintainers usually reply within 1 day