pan_http2_alloc() failed when accessing websites during working hours
8200
Created On 12/19/22 03:32 AM - Last Modified 04/22/24 07:14 AM
Symptom
- Users can't access any websites.
- "HTTP2_Protocol_Error" are present in the web inspector console logs.
- The issue is not seen with few users.
- The issue is present only when "Strip ALPN" is disabled
Global Counters (show counter global)
http2_process 4 0 info http2 pktproc Number of http2 connection process
http2_stream_session_alloc 16 0 info http2 pktproc Number of http2 stream sessions allocated
http2_connection_window_update_sent 8 0 info http2 pktproc Number of http2 connection window updates sent
http2_rst_stream_recv 4 0 info http2 pktproc Number of http2 RST_STREAM frames received
http2_connection_protocol_error 2 0 error http2 pktproc Number of http2 connections closed due to protocol violation
http2_stream_protocol_error 1 0 error http2 pktproc Number of http2 streams closed due to protocol violation
http2_connection_cant_write 1 0 warn http2 pktproc Number of http2 send frames dropped after GOAWAY is sent or received
http2_stream_map_alloc_failure 4 0 warn http2 resource Number of http2 stream map allocation failure
http2_header_inflate_failed 2 0 error http2 pktproc Number of http2 hpack inflate failures
http2_frame_drop_ingress 2 0 info http2 pktproc Number of http2 frame dropped at ingress stage
http2_frame_drop_egress 9 0 info http2 pktproc Number of http2 frame dropped at egress stage
http2_continuation_internal 42 0 info http2 pktproc Number of http2 continuation frames for CTD processing
http2_goaway_sent 6 0 info http2 pktproc Number of http2 goaway frames sent
http2_rst_stream_sent 1 0 info http2 pktproc Number of http2 rst_stream frames sent
http2_send_frame_queued 6 0 info http2 pktproc Number of http2 send frames queued for order
http2_headers_frame_queued 42 0 info http2 pktproc Number of http2 send headers frames queued
http2_data_frame_queued 143 1 info http2 pktproc Number of http2 send data frames queued
packet-diag logs (less dp0-log pan_packet_diag.log):
+0200 Error: header_table_add(pan_hpack.c:365): pan_http2_alloc() failed
+0200 Error: header_table_add(pan_hpack.c:365): pan_http2_alloc() failed
Environment
- Palo Alto PA-3400 Series Firewalls
- PAN-OS 10.2.2 and 10.2.3
- Decryption is enabled or url-proxy configured for displaying response pages for HTTPS requests
Cause
Software issue due to PAN-206005.
Resolution
- As a work around, Turn on "Strip-ALPN " in the decryption policy to stop the usage of HTTP2.
- For permanent fix, upgrade the PAN-OS to 10.2.4, 11.0.1 or higher version. The issue has been addressed under PAN-206005