Flower: 'stats' inspect method failed

Created on 23 Dec 2015  路  4Comments  路  Source: mher/flower

flower: 0.8.3
celery: 3.1.17

When I start

"celery flower -A ttcelery --broker=redis://localhost:6379/0" ,

Warning appear:

"[W 151223 16:24:57 control:44] 'stats' inspect method failed"
[W 151223 16:24:57 control:44] 'active_queues' inspect method failed
[W 151223 16:24:57 control:44] 'registered' inspect method failed
[W 151223 16:24:57 control:44] 'scheduled' inspect method failed
[W 151223 16:24:57 control:44] 'active' inspect method failed
[W 151223 16:24:57 control:44] 'reserved' inspect method failed
[W 151223 16:24:57 control:44] 'revoked' inspect method failed
[W 151223 16:24:57 control:44] 'conf' inspect method failed

And open http://localhost:5555, all tabs is empty

Most helpful comment

I had the same problem with you. then i find running both flower and the worker together is wrong.
Flower does not process tasks. You must run both, then Flower can be used as a monitoring tool.
Run celery in a shell, and then open another shell and run flower!

All 4 comments

It means flower failed to inspect workers. You can use celery inspect command to debug your workers.

how do you start your workers?
Try to give them unique names:
celery -A myapp worker -n myworker

I had the same problem with you. then i find running both flower and the worker together is wrong.
Flower does not process tasks. You must run both, then Flower can be used as a monitoring tool.
Run celery in a shell, and then open another shell and run flower!

@kep-w I'm also facing this issue. I have set up Celery executor in airflow along with flower to monitor workers. Everything is running in docker. Flower and the worker start in docker at the same time. What you are saying is that first I should start Celery and once it is up and running then only I should start Flower?

Was this page helpful?
0 / 5 - 0 ratings