INTERNAL_ERROR
INTERNAL_ERROR (0x2) indicates that the implementation encountered an internal error that is not attributable to the peer's behavior. The sender experienced an unexpected condition that prevented processing. This is the HTTP/2 equivalent of HTTP/1.1 500 Internal Server Error at the framing layer.
Code
0x2
Decimal
2
Standard
RFC 9113 §7
Description
INTERNAL_ERROR is sent when the implementation has a bug or unexpected failure that prevents it from continuing. Unlike PROTOCOL_ERROR which blames the peer, INTERNAL_ERROR is self-reported. Common causes: an unhandled exception in the HTTP/2 frame processing code, a failure in the HPACK compression state that cannot be recovered, or a memory allocation failure. Clients receiving INTERNAL_ERROR should retry the request – it indicates a server-side failure, not a client mistake.
Common Causes
- –Unhandled exception in HTTP/2 frame processing
- –HPACK compression state corruption
- –Memory allocation failure during frame processing
- –Application server crashed during response generation