oven-sh/bun · error · TypeError

HTTP3StreamReset

HTTP3StreamReset

Error message

HTTP3StreamReset

What it means

An HTTP/3 (QUIC) stream was reset by the peer. The QUIC equivalent of HTTP/2 stream reset — fires when the server sends a STOP_SENDING or RESET_STREAM frame, aborting an individual request stream within the connection.

Solutions

  1. Retry the request — individual stream resets leave the connection usable
  2. Check the QUIC error code in the reset frame to identify the cause
  3. Verify the server is not rejecting the request due to size limits or forbidden framing
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/http/error.rs:90 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16). Data as JSON: /api/errors/779cd76a8ef615a9. Report an issue: GitHub.

Appendix: source

Thrown at src/http/error.rs:90

    #[error("InvalidRedirectURL")]
    InvalidRedirectURL,
    #[error("UnexpectedRedirect")]
    UnexpectedRedirect,
    #[error("ShortRead")]
    ShortRead,
    #[error("WantRead")]
    WantRead,
    #[error("WantWrite")]
    WantWrite,
    #[error("HTTP3HandshakeFailed")]
    HTTP3HandshakeFailed,
    #[error("HTTP3ProtocolError")]
    HTTP3ProtocolError,
    #[error("HTTP3HeaderEncodingError")]
    HTTP3HeaderEncodingError,
    #[error("DNSResolutionFailed")]
    DNSResolutionFailed,
    #[error("HTTP3StreamReset")]
    HTTP3StreamReset,
    #[error("HTTP3ContentLengthMismatch")]
    HTTP3ContentLengthMismatch,
    #[error("FailedToOpenSocket")]
    FailedToOpenSocket,
    #[error("InvalidCRL")]
    InvalidCRL,
    #[error("UnsupportedProxyProtocol")]
    UnsupportedProxyProtocol,
    #[error(transparent)]
    Cert(#[from] CertError),
    #[error(transparent)]
    Alloc(#[from] bun_alloc::AllocError),
    #[error(transparent)]
    Hpack(#[from] crate::lshpack::HpackError),
    #[error(transparent)]
    Core(#[from] bun_core::Error),
    #[error(transparent)]

View on GitHub (pinned to 8c5296ac45)