Loading

Flex Gateway control node events sub-store not provisioned after gateway re-registration causing 503 errors

Publiseringsdato: Sep 18, 2026
Beskrivelse

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)

Løsning

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.

Knowledge-artikkelnummer

005460317

 
Laster
Salesforce Help | Article