The flex gateway agent doesn't stop when some child process end with core dump or kill signal
Not fixed yet. Salesforce has scheduled a fix.
Summary
If we use a buggy policy that introduce runtime errors on the flex-gateway and cause the envoy to stop then the flex gateway remain in the stopped state and doesn't automatically restart. This leads to a complete shutdown of flex gateway and each request to gateway results in 502 bad gateway error.
ERROR on FGW logs:
2025-08-06T11:23:31.882Z ERROR [fgw-name] flex-gateway-envoy - Function: proxy_on_response_body failed: Uncaught RuntimeError: unreachable\nProxy-Wasm plugin in-VM backtrace:\n 0: 0x4b9c2 - _RNvCs691rhTbG0Ee_7___rustc10rust_panic\n 1: 0x4b17c - std::panicking::rust_panic_with_hook::hd6db915a7ab98bd5\n 2: 0x4ab1c - std::panicking::begin_panic::_$u7b$$u7b$closure$u7d$$u7d$::h1f2d85d38e1e286a\n 3: 0x4aae1 - std::sys::backtrace::__rust_end_short_backtrace::h23bec9523df71e38\n 4: 0x3d647 - std::panicking::begin_panic::hbb6a895ce105cd53\n 5: 0x3ebf5 - proxy_on_response_body
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Scheduled
Nov 30, 2026
Also open in Flex Gateway
Issue: Message Logging fails to resolve dw::Core::-- expressions in Flex Gateway v1.12.x
Solution ScheduledMuleSoft / Flex GatewayReported Mar 20, 20265 reports5reports
Managed Flex Gateways do not automatically update to the latest monthly patch releases.
In ReviewMuleSoft / Flex GatewayReported Mar 5, 20265 reports5reports
Flex | JSON Threat Protection policy fails to validate payload with windows encoded special chars
Solution ScheduledMuleSoft / Flex GatewayReported Jul 1, 20245 reports5reports
Logs generated from Outbound message logging policy are not visible in Message Log section of API Manager after Flex-Gateway version 1.11.2
Solution ScheduledMuleSoft / Flex GatewayReported Mar 18, 20264 reports4reports