Clarification Concerning Connecting Celery With Redis in my flask application

jamesomareHOBBY

9 months ago

I set up two apps with the same repository and env variables but with different start commands(the main app uses the normal Procfile while my other app uses a custom start command for running celery). The issue is when running the celery app i'm getting this errror when using the REDIS_URL defined in my redis service:

"consumer: Cannot connect to redis://default:**@redis.railway.internal:6379//: Error -2 connecting to redis.railway.internal:6379. Name or service not known..."

When trying to connect to this redis env variable REDIS_PUBLIC_URL, the celery connects but tasks are not being processed

0 Replies