Skip to content

fix(agent): send HTTP/2 keepalive pings on the policy connection - #205

Merged
eniac111 merged 1 commit into
masterfrom
fix/agent-keepalive
Nov 3, 2026
Merged

eniac111 merged 1 commit into
masterfrom
fix/agent-keepalive

Conversation

@eniac111

@eniac111 eniac111 commented Nov 3, 2026

Copy link
Copy Markdown
Member

After a suspend and resume the node's TCP socket to the policy port can stay established while the server has already dropped the connection (its TCP user timeout fires as soon as a push goes unacknowledged for 20 seconds). The agent then sits in Recv on a stream that no longer exists and never sees new bindings until it is restarted.

Enable client keepalive: a ping every 60 seconds with a 20 second timeout closes such a connection and the existing reconnect loop takes over. The server's enforcement policy permits pings every 10 seconds.

After a suspend and resume the node's TCP socket to the policy port can
stay established while the server has already dropped the connection
(its TCP user timeout fires as soon as a push goes unacknowledged for 20
seconds). The agent then sits in Recv on a stream that no longer exists
and never sees new bindings until it is restarted.

Enable client keepalive: a ping every 60 seconds with a 20 second timeout
closes such a connection and the existing reconnect loop takes over. The
server's enforcement policy permits pings every 10 seconds.
@eniac111
eniac111 merged commit 83ef0bc into master Nov 3, 2026
22 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 3, 2026
@eniac111
eniac111 deleted the fix/agent-keepalive branch November 3, 2026 22:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant