# NousResearch/hermes-agent · Desktop OAuth session fetch error handling fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address unhandled response body errors in the desktop OAuth session fetch flow, including a modal loop caused by missing error handlers and recovery behavior for remote OAuth without blocking healthy gateways.

## 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 #108183. Verify it addresses your case.
- **Recommended:** read PR #108183 (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-108183`. 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

- #72530: \[desktop\] Uncaught ERR_CONTENT_LENGTH_MISMATCH modal loop — fetchJsonViaOauthSession missing response 'error' handler

## Prior & competing PRs

- **#108183: fix(desktop): recover remote OAuth without blocking healthy gateways**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/e2e/remote-oauth-recovery.spec.ts`, `apps/desktop/electron/fetch-json-oauth-session.test.ts`, `apps/desktop/electron/main.ts`, `apps/desktop/electron/oauth-session-response.ts`, `apps/desktop/electron/remote-oauth-ticket.test.ts`, `apps/desktop/electron/remote-oauth-ticket.ts`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.test.tsx`, `apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts`, `apps/desktop/src/app/settings/connections-registry.test.tsx`, `apps/desktop/src/app/settings/connections-registry.tsx`, `apps/desktop/src/store/fleet-roster.test.ts`, `apps/desktop/src/store/fleet-roster.ts`
- **#72538: fix(desktop): handle response body errors in OAuth session fetch**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#99135`
- **#99135: fix(desktop): handle response body errors in OAuth session fetch (salvage of #72538)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`

## Fix status

- Merged to main in PR #108183 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-11`.
- Subsystem: `apps/desktop`
