N
Novu10mo ago
dr.really

InMemory Cluster Error

I'm getting the following connection error with the novu-worker@0.17.1
{"level":50,"time":1693409349835,"pid":18,"serviceName":"@novu/worker","serviceVersion":"0.17.1","platform":"Docker","tenant":"OS","context":"InMemoryCluster","msg":"There has been an error in the InMemory Cluster provider client"}
{"level":50,"time":1693409349835,"pid":18,"serviceName":"@novu/worker","serviceVersion":"0.17.1","platform":"Docker","tenant":"OS","context":"InMemoryCluster","msg":"There has been an error in the InMemory Cluster provider client"}
I'm connected ElastiCache Redis in AWS but can't figure out what's causing this issue. Any ideas?
2 Replies
dr.really
dr.really10mo ago
@Support sorry for the ping, we are just down in production right now because the service keeps cycling I have the in IN_MEMORY_CLUSTER_MODE_ENABLED env var set to false and 0.17.1 seems to not even respond to that env var.. down graded to 0.16.4 and this is still an issue figured it out while talking to @unicodeveloper (thanks again for being a sounding board Prosper!) I had to set the IN_MEMORY_CLUSTER_MODE_ENABLED to false, but then also set REDIS_CACHE_SERVICE_HOST and REDIS_CACHE_SERVICE_PORT to the same values as REDIS_HOST and REDIS_PORT
Prosper
Prosper10mo ago
We will update the docs accordingly so people don’t have to face this error. Thanks @dr.really