celery
celery copied to clipboard
[ERROR/MainProcess] consumer: Cannot connect to redis
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...