- Home
- Skills
- APIs & Backend
- Repair HTTP/2 GOAWAY Retry Bugs
Works with the AI tools you already use
Repair HTTP/2 GOAWAY Retry Bugs
Repair HTTP/2 GOAWAY drain bugs, stale pool reuse, unsafe stream retries, one-shot body replay, unknown outcomes, and replacement-connection herds.
$8.99
Repair HTTP/2 GOAWAY Retry Bugs
Example session with this skill installed
Our Node/TypeScript API uses an HTTP/2 client pool to call an internal service. During rolling deploys the server sends GOAWAY. Our pool keeps the connection eligible for new requests until it actually closes, and the retry wrapper retries every failed request once on a fresh connection. We have concurrent GETs plus some POSTs with streaming bodies. Repair locally with an HTTP/2 test server that sends GOAWAY at controlled stream IDs. Do not call production, assume POSTs are idempotent, or buffer unlimited request bodies.
- Read your context and instructions
- Compiled the repair http 2
GOAWAY drain bug found. The pool keeps a draining session eligible for new streams and the retry wrapper ignores stream outcome, body replayability, and operation safety. The repair adds DRAINING state, stream-aware classification, bounded replacement creation, and deterministic GOAWAY tests. POST idempotency remains unverified.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
HTTP/2 connection rotation and graceful drains often trigger race conditions that cause dropped requests or dangerous duplicate retries. Standard retry logic frequently fails to distinguish between streams the server definitely ignored and those with unknown processing outcomes during a GOAWAY event.
What it does
- Identifies and repairs repository-level HTTP/2 transport wrappers to handle GOAWAY frames correctly.
- Prevents connection pools from assigning new streams to draining connections.
- Implements stream-aware retry classification based on the peer's last-processed stream ID.
- Enforces body replayability checks and idempotency safety during connection failovers.
- Generates deterministic local HTTP/2 test fixtures to validate drain semantics without production traffic.
Frameworks & tools
Works with HTTP/2 client libraries, custom transports, and connection pool implementations. Requires standard shell tools for local testing and file editing.
Why this beats prompting it yourself
Generic LLM prompts often suggest blindly retrying failed requests, which leads to double-processing and data corruption. This skill follows a strict protocol to isolate transport-level retryability from application-level operation safety, ensuring your fix handles edge cases like concurrent stream herds and unknown outcomes.
Use cases
- Fixing request failures during rolling deployments or load balancer connection rotation.
- Stopping retry storms triggered by frequent GOAWAY events in high-concurrency environments.
- Adding observability to track connection drain state and stream-level retry success rates.
- Validating client behavior against specific last-stream ID boundaries in local CI.
Known limitations
Cannot capture production traffic or invent provider-side idempotency guarantees. Local tests may not perfectly replicate the behavior of specific production intermediaries or hardware proxies.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install