-
My goal: To get the redis cache working.
-
Issue: Retool is not persisting anything in the redis cache.
-
Retool version & hosting setup (Docker, K8s, cloud provider, etc.): k8s, 3.284.7
-
Error message(s) or screenshots:
{"args":[null],"code":"ERR","command":"SELECT","level":"error","message":"[caching] customer redis client error: ERR value is not an integer or out of range","stack":"ReplyError: ERR value is not an integer or out of range\n at AB4 (/retool_backend/bundle/main.js:102:56771)\n at FEl (/retool_backend/bundle/main.js:102:57509)"}{"args":[null],"code":"ERR","command":"SELECT","level":"error","message":"[caching] backend redis client error: ERR value is not an integer or out of range","stack":"ReplyError: ERR value is not an integer or out of range\n at AB4 (/retool_backend/bundle/main.js:102:56771)\n at FEl (/retool_backend/bundle/main.js:102:57509)"} -
What I’ve tried so far: I’ve configured the redis cache using the environment variables
REDIS_HOSTandREDIS_PASSWORD. I’m confident they are set correctly, because I can reach the redis host from the retool pods. I’ve also tried connecting to redis using theredis-cli, which works well, auth included. I’ve configured caching on a few queries and I reload my app to make sure caches are warm, but nothing happens. When I check redis though the cli, usingKEYS *, nothing shows. And there’s of course the logs above.
Any ideas of what might be the issue?