Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair HTTP/2 GOAWAY Retry Bugs

    2

    Repair HTTP/2 GOAWAY drain bugs, stale pool reuse, unsafe stream retries, one-shot body replay, unknown outcomes, and replacement-connection herds.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair HTTP/2 GOAWAY Retry Bugs

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files

    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.

    Listed3 months ago
    Updated18 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies and patches flaws in HTTP/2 transport wrappers where GOAWAY frames cause race conditions, stale connection reuse, or unsafe request retries. It ensures your client accurately distinguishes between ignored streams and those with unknown outcomes to prevent data corruption.

    The skill is designed to work with any AI agent capable of file manipulation and shell execution, including Autogpt, BabyAGI, and custom LLM-based development agents. It provides the logic and test fixtures necessary for these agents to audit and repair your specific networking stack.

    You receive a specialized set of instructions for your AI agent, diagnostic scripts to identify drain bugs, and deterministic local test fixtures to validate fixes. It also includes a protocol for body replayability checks to ensure idempotent retry behavior.

    This skill is library-agnostic and can be applied to custom HTTP/2 client implementations, connection pools, and standard library transports in languages like Go, Rust, or Java. It focuses on the underlying protocol logic rather than being locked to a single framework.

    Unlike generic prompts, this skill enforces a strict protocol that separates transport-level retries from application-level safety. It prevents 'retry storms' and double-processing by using the peer's last-processed stream ID to make deterministic retry decisions.

    New in APIs & Backend