# NousResearch/hermes-agent · xAI OAuth refresh network error handling

## Open now

- 1 issue, 1 PR open on GitHub.
- #82204: \[Bug\]: hermes model crashes with raw httpx traceback when xAI OAuth refresh hits DNS failure
- PR #82205: fix(auth): wrap xAI OAuth refresh network errors as AuthError

These items address unhandled network errors (such as DNS failures and connection errors) during xAI OAuth token refresh, which could surface as raw httpx tracebacks. The work involves catching and wrapping these exceptions as proper AuthError types in the CLI and auth layer.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #82204: \[Bug\]: hermes model crashes with raw httpx traceback when xAI OAuth refresh hits DNS failure

## Prior & competing PRs

- **#82205: fix(auth): wrap xAI OAuth refresh network errors as AuthError**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `ebbe399275`
  - files: `hermes_cli/auth_nous.py`, `hermes_cli/auth_xai.py`, `hermes_cli/model_setup_flows.py`, `tests/hermes_cli/test_auth_xai_oauth_provider.py`
- **#82539: fix(cli): catch httpx.ConnectError in xAI OAuth token refresh (#82204)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#82205`, `#82204`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
