After re-registering a Flex Gateway (Connected Mode, Kubernetes, Redis Sentinel shared storage) with a new GatewayID pointing at the same Redis instance, the control node main store initializes correctly but the companion events sub-store (<gatewayId>-events) is never created.
This causes all WASM-based policies (JWT Validation, Message Logging, Antimalware) to fail with:
- SharedStorageClient: Store error: response status expected 201 but was 404 Not Found
- SharedStorageClient: Store error: response body {"name":"NotFound","message":"store <id> not found","status":404}
- API instances return HTTP 503
Affected versions: Flex Gateway 1.12.x through 1.14.0
Note: Version 1.14.0 enables control node by default (FLEX_DATA_SOURCE_CONTROL_NODE_ENABLED=true), increasing impact.
The following remediation steps do NOT resolve the issue:
- Changing Redis database index
- Selective key deletion of old gateway keys
- FLUSHDB (main store recreates but events sub-store remains missing)
Workaround: Disable the control node by setting the following environment variable in the Kubernetes Deployment spec or Helm values.yaml:
FLEX_DATA_SOURCE_CONTROL_NODE_ENABLED=false
Restart gateway pods after applying. The gateway will fetch configuration directly from Anypoint Platform instead of Redis. APIs continue serving traffic normally with all policies functional.
Permanent fix: A product bug has been logged. No fix version available yet.
005460317

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.