{"record":{"id":"03eca831d43a529e","repo":"oven-sh/bun","slug":"http2compressionerror","errorCode":"HTTP2CompressionError","errorMessage":"HTTP2CompressionError","messagePattern":"HTTP2CompressionError","errorType":"error_code","errorClass":"http::Error","httpStatus":null,"severity":"error","filePath":"src/http/error.rs","lineNumber":28,"sourceCode":"    #[error(\"HTTP2RefusedStream\")]\n    HTTP2RefusedStream,\n    #[error(\"HTTP2ContentLengthMismatch\")]\n    HTTP2ContentLengthMismatch,\n    #[error(\"HTTP2FrameSizeError\")]\n    HTTP2FrameSizeError,\n    #[error(\"HTTP2ProtocolError\")]\n    HTTP2ProtocolError,\n    #[error(\"HTTP2FlowControlError\")]\n    HTTP2FlowControlError,\n    #[error(\"HTTP2EnhanceYourCalm\")]\n    HTTP2EnhanceYourCalm,\n    #[error(\"HTTP2HeaderListTooLarge\")]\n    HTTP2HeaderListTooLarge,\n    #[error(\"HTTP2StreamReset\")]\n    HTTP2StreamReset,\n    #[error(\"HTTP2GoAway\")]\n    HTTP2GoAway,\n    #[error(\"HTTP2CompressionError\")]\n    HTTP2CompressionError,\n    #[error(\"Timeout\")]\n    Timeout,\n    #[error(\"AbortedBeforeConnecting\")]\n    AbortedBeforeConnecting,\n    #[error(\"InvalidURL\")]\n    InvalidURL,\n    #[error(\"ERR_TLS_CERT_ALTNAME_INVALID\")]\n    ERR_TLS_CERT_ALTNAME_INVALID,\n    #[error(\"ClientAborted\")]\n    ClientAborted,\n    #[error(\"HTTP2Unsupported\")]\n    HTTP2Unsupported,\n    #[error(\"ConnectionClosed\")]\n    ConnectionClosed,\n    #[error(\"DNSResolveFailed\")]\n    DNSResolveFailed,\n    #[error(\"ConnectionRefused\")]","sourceCodeStart":10,"sourceCodeEnd":46,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/http/error.rs#L10-L46","documentation":"HTTP/2 HPACK header compression/decompression error. Occurs when the HPACK decoder encounters invalid or corrupted Huffman-encoded data, invalid table indices, or inconsistent dynamic table updates in the header block.","triggerScenarios":"Thrown at src/http/error.rs:28 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify that the HPACK encoder/decoder implementations are compatible and use consistent dynamic table sizes","Check for corrupted frames due to transport-level issues (TLS misconfiguration, proxy interference)","Ensure the HPACK dynamic table state is synchronized between client and server across the connection lifetime"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","contentChangedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}