gorgeous-student-70220
05/02/2025, 2:26 PMgrowthbook-proxy
support using a Redis instance with Sentinel enabled for the cache backend?gorgeous-student-70220
05/02/2025, 2:27 PMgrowthbook-proxy
is trying to write to read-only redis nodes, which sentinel should prevent.
We've started hosting growthbook-proxy
in our k8s infrastructure as a proxy for Growthbook Cloud, but are getting intermittent errors when using Redis as the CACHE_ENGINE
, particularly when quickly switching the feature on and off (server sent events).
• We've set REDIS_URL=redis://:<PASSWORD>@<REDIS-SVC-NAME>.<NAMESPACE>.svc.cluster.local
• We are connecting to a shared Redis instance that uses Redis Sentinel
• The specific error in the `growthbook-proxy`logs is: ReplyError: READONLY You can't write against a read only replica.\n at parseError (/usr/local/src/app/node_modules/redis-parser/lib/parser.js:179:12
• We also intermittent connection errors in the UI for the SDK Connection (POST returned an invalid status code: 500
)happy-autumn-40938
05/02/2025, 6:11 PM