# NousResearch/hermes-agent · Gateway client websocket keepalive ping behavior for local gateways

## Open now

- 1 issue, 1 PR open on GitHub.
- #154910: \[Bug\]: TUI/CLI gateway client keeps the websockets default keepalive (20s/20s), so a busy gateway loop drops the socket with 1011 "keepalive ping timeout"
- PR #157886: Keep discovered local gateway sockets alive during long turns

The members concern the gateway client's websocket keepalive pings (default 20s/20s), which are reported to cause 1011 "keepalive ping timeout" disconnects when the gateway loop is busy or during long turns. They discuss avoiding keepalive pings for loopback/local gateway connections; the titles alone do not show the outcome of these changes.

## 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

- #154910: \[Bug\]: TUI/CLI gateway client keeps the websockets default keepalive (20s/20s), so a busy gateway loop drops the socket with 1011 "keepalive ping timeout"

## Prior & competing PRs

- **#154946: fix(gateway-client): don't keepalive-ping a loopback gateway**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `5c1abd257d0cc1b531ffee6e50bef0621aa49dc4`, `9ec36b12353942b0e3c8fae281c09b2ba643a77a`
- **#157886: Keep discovered local gateway sockets alive during long turns**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/gateway_client.py`, `tests/hermes_cli/test_gateway_client_keepalive.py`, `tui_gateway/owner_forward.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
- Kind: `bug` (from the open issues' GitHub type labels).
