I’m setting up a Django app with Celery. Redis is the message broker. All three components are running in a separate pod and have consul proxies injected. Celery is unable to connect to the Redis pod:
[2021-08-03 17:28:27,872: ERROR/MainProcess] consumer: Cannot connect to redis://:**@127.0.0.1:6379/1: Error while reading from socket: (104, ‘Connection reset by peer’).
Trying again in 2.00 seconds… (1/100)
Using an unencrypted connection outside of the Consul mesh works as intended.
The Django app can communicate with a separate Postgres and Vault pod over the Consul mesh. This seems to only affect Redis. Could this be a Redis protocol over App Mesh issue?
Can you share the service registration configuration that you’re using for redis? Also, please provide any relevant logs from the Envoy sidecars for the Celery and Redis services which might be helpful in debugging.