- Home
- Skills
- APIs & Backend
- Repair HTTP/2 GOAWAY Retry Bugs
Works with the AI Agents 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.
$1
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.
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.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Cannot guarantee provider idempotency, infer hidden proxy behavior, safely replay unknown-outcome writes, or assume every client library exposes the same stream-ID semantics.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
Permissions
Run on a clean branch with local HTTP/2 test servers and deterministic stream/GOAWAY barriers. Keep production endpoints, credentials, traffic, and live writes out of scope.