# NousResearch/hermes-agent · Bracketed IPv6 in NO_PROXY breaks OAuth auth path

## Open now

- Nothing open on GitHub.

A bug where bracketed IPv6 addresses (e.g., \[::1\]) in the NO_PROXY environment variable cause an 'Invalid port' error on the Codex OAuth and token refresh path. The members cover the bug report and related fixes addressing this parsing issue.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #131802. Verify it addresses your case.
- **Recommended:** read PR #131802 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-131802`. 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.50`: 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.

## Closed / duplicate issues

- #118159: NO_PROXY containing a bracketed IPv6 (\[::1\]) breaks the Codex OAuth/refresh path with Invalid port: ':1\]' while chat keeps working

## Prior & competing PRs

- **#131802: fix(net): sanitize bracketed-IPv6 NO_PROXY entries so bare httpx clients construct \[risk 0.25\]**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/auth_codex.py`, `hermes_cli/doctor_connectivity.py`, `hermes_cli/doctor_live.py`, `tests/hermes_cli/test_auth_codex_no_proxy_ipv6.py`, `tests/hermes_cli/test_doctor_live.py`, `tests/hermes_cli/test_doctor_no_proxy_ipv6.py`, `tests/test_utils_no_proxy_sanitize.py`, `utils.py`
- **#118170: fix(auth): handle bracketed IPv6 no-proxy entries**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#131802`
- **#118287: fix(cli): resolve the Codex OAuth proxy explicitly so a bracketed-IPv6 NO_PROXY entry cannot kill auth**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#118170`

## Fix status

- Merged to main in PR #131802 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-05`.
