mher / flower

Real-time monitor and web admin for Celery distributed task queue

Home Page:https://flower.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The connection fails after the celery flower is started with an IPv6 address

776948741 opened this issue · comments

For example, an ipv6 address is as follows. When it is connected, it will be encoded and converted, so that it cannot connect to this ipv6 address.
It can be connected normally in celery worker and beat, but after using flower, it cannot be connected
xxxx:xx00:00:xxxx:00:000:000:00

celery -A app --broker=redis://:password@[xxxx:xx00:00:xxxx:00:000:000:00]:6379/3 flower inspect_timeout=1000 --purge_offline_workers=60
[I 220623 13:39:31 mixins:225] Connected to redis://:**@xxxx%3Axx00%3A00%3Axxxx%3A00%3A000%3A000%3A00:6379/3
[E 220623 13:39:49 broker:45] Unable to get queues: 'Error -2 connecting to xxxx%3Axx00%3A00%3Axxxx%3A00%3A000%3A000%3A00:6379. Name or service not known.'

celery -A app --broker="redis://:password@[xxxx:xx00:00:xxxx:00:000:000:00]:6379/3" flower inspect_timeout=1000 --purge_offline_workers=60