#60275·istio

Istio 1.30.0 / Envoy 1.38: ~10s per-request latency regression on HTTP/1.1 + SSE (MCP streamable_http) traffic

Author: ahummel25Created May 19, 2026Updated Sep 30, 2026
Labelslifecycle/stale

Bug Description

After upgrading Istio from 1.29.2 → 1.30.0, all HTTP/1.1 + SSE traffic from a Python mcp.client.streamable_http client (Model Context Protocol SDK) to a FastAPI MCP server gained a consistent ~10 second per-request latency. Reverting Istio to 1.29.2 (control plane + sidecar + ingress gateway) immediately restores normal sub-10ms behavior with no other changes.

The latency is introduced between the source-side and destination-side Envoy — not in the application:

Reporter Envoy 1.38 (Istio 1.30.0) Envoy 1.37 (Istio 1.29.2)
Source-side istio_request_duration_milliseconds POST→200 P50 10,150 ms 3.08 ms
Source-side P75 10,700 ms 6.07 ms
Source-side P90 40,166 ms 35.35 ms
Destination-side P50 2.08 ms 2.05 ms

Same workload pods, same image SHA, same VirtualService / DestinationRule, only Istio version changed. The destination-side Envoy reports the request as completing in 2 ms in both versions; the source-side Envoy on 1.30 holds for ~10 s before reporting the response.

Pattern: the affected client (mcp.client.streamable_http) maintains a long-lived GET (SSE response stream) and sends POST JSON-RPC requests that get 202 Accepted, with results delivered back via SSE events on the open GET. On 1.30 the client logs GET stream disconnected, reconnecting in 1000ms... consistent with the source-side stream being held open ~10 s.

Expected behavior

Pod-to-pod HTTP/1.1 latency should not change between Istio 1.29.2 and 1.30.0 for traffic that is not using the new opt-in MCP-aware filters (envoy.filters.http.mcp_router, envoy.filters.http.sse_to_metadata).

Workaround

Roll Istio back to 1.29.2 (control plane + sidecar + ingress gateway). Confirmed working with no application changes.

Version

Istio: 1.30.0 (broken) → 1.29.2 (workaround)
Envoy: 1.38.0 (broken) → 1.37 (workaround)
Kubernetes: v1.35
Sidecar mode: native sidecar (init container with restartPolicy: Always)
Install: standard Helm — istio/base + istio/istiod, default values
Cluster: AWS EKS, AWS VPC CNI, Bottlerocket nodes

Additional Information

What was ruled out

  • Application code — same image SHA on both Istio versions during the test (rolled forward, then rolled back with rolling restart so the sidecars matched the control plane).
  • EnvoyFilter / Telemetry — none configured in the affected namespace.
  • VirtualService / DestinationRule — unchanged before and after the upgrade. VS: timeout: 300s, perTryTimeout: 60s, retries: 3 on 5xx,reset,connect-failure,refused-stream. DR: loadBalancer.consistentHash.useSourceIp: true.
  • mcp_router / sse_to_metadata filters — these new MCP-aware Envoy 1.38 filters are opt-in HTTP filters that must be added explicitly. Istio 1.30 does NOT inject them into the default sidecar filter chain, and we do not configure them. Confirmed not the cause.
  • Network / kubelet / CNI — destination-side Envoy reports sub-ms per request in both versions; the network path is fine. The 10 s delta is added by the source-side Envoy on 1.30 only.

Likely cause

Envoy 1.38.0 release notes list these HTTP/1.1 fixes in the bundle:

Fixes for HTTP/1 zombie-stream FD leaks, internal-redirect hang on buffer overflow, keep-alive header preservation, reset-stream filter-chain safety, idle-timer-before-connected behaviour, and a worker-thread watchdog configuration bug.

One of those — most likely the zombie-stream FD-leak fix or the idle-timer-before-connected fix — appears to interact badly with the MCP streamable_http pattern of long-lived bidirectional HTTP/1.1 streams. We have not bisected to a specific Envoy commit.

Quantitative evidence (raw, post-rollback)

Source-side Envoy istio_request_duration_milliseconds from the same backend pod talking to the same MCP service, on Envoy 1.29.2 (after rollback):

POST → 200, response_flags=-:
  P0=1  P25=2.02  P50=3.08  P75=6.07  P90=35.35  P95=35.67  P99=35.93  P100=36

POST → 202 Accepted, response_flags=-:
  P0=1  P25=1.07  P50=2.05  P75=7.02  P90=7.07  P95=7.08  P99=7.09  P100=7.1

POST → 200, response_flags=DC (downstream-terminated long-poll GET, normal):
  P0=10 P25=10.25 P50=10.5 P75=10.75 P90=10.9 P95=10.95 P99=10.99 P100=11

On Envoy 1.38 (Istio 1.30.0), same setup, the response_flags=- POSTs were P50=10,150 ms / P75=10,700 ms — three orders of magnitude slower. The response_flags=DC long-poll entries existed on both versions and are unchanged (they are normal MCP client behavior).

Affected product area

  • Networking
  • Upgrade