celery icon indicating copy to clipboard operation
celery copied to clipboard

[ERROR/MainProcess] consumer: Cannot connect to redis

Open zzyykk123456 opened this issue 7 years ago • 0 comments

celery config:

BROKER_URL = "redis://:××××@×××.redis.cache.chinacloudapi.cn:6379/12" CELERY_RESULT_BACKEND = "redis://:×××@×××.redis.cache.chinacloudapi.cn:6379/10"

error log: [ERROR/MainProcess] consumer: Cannot connect to redis://:×××@×××.redis.cache.chinacloudapi.cn:6379/12: Error 11001 connecting to ×××.redis.cache.chinacloudapi.cn:6379. Name or service not known.. Trying again in 2.00 seconds...

tags: when i use redis in celery ,found connect to redis cannot use domain name ,but IP can...

zzyykk123456 avatar Sep 11 '19 10:09 zzyykk123456