celery 哨兵结果返回失败,代理url工作正常

56lgkhnf  于 2021-06-08  发布在  Redis
关注(0)|答案(0)|浏览(587)

试图连接到哨兵(气流celery )。
不工作:

broker_url = sentinel://127.0.0.0:26379/1
result_backend = sentinel://127.0.0.0:26379/1
[celery_broker_transport_options]
master_name = masterdev

输出:

redis/sentinel.py", line 224, in discover_master
    raise MasterNotFoundError("No master found for %r" % (service_name,))
kombu.exceptions.OperationalError: No master found for None

工作:

broker_url = sentinel://127.0.0.0:26379/1
result_backend = redis://127.0.0.0:5672/1
[celery_broker_transport_options]
master_name = masterdev

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题