How to see broker information when using Flower?

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to see broker information when using Flower?



I am running flower by the command:



celery flower --broker=amqp://<username>:<password>@localhost:5672/<virtualhostname> --broker_api=http://<username>:<password>@localhost:5672/api/


celery flower --broker=amqp://<username>:<password>@localhost:5672/<virtualhostname> --broker_api=http://<username>:<password>@localhost:5672/api/



I can see the tasks info, the worker info etc.



But as soon as I go to /broker, I see the error in console:


/broker



RabbitMQ management API call failed: Stream closed


RabbitMQ management API call failed: Stream closed



and the UI remains blank with no data.



Interestingly whenever I go to /monitor, I see the same error in the console, however, after a couple of seconds graphs gets to load on the monitor page.


/monitor



But for broker page nothing happens even after waiting.



The broker I am using is RabbitMQ and the management plugin is already enabled for the broker by the command:
rabbitmq-plugins enable rabbitmq_management


RabbitMQ


rabbitmq-plugins enable rabbitmq_management



Why am I getting the Stream closed error for the broker page?



Associated github issue: https://github.com/mher/flower/issues/830




1 Answer
1



In the RabbitMQ management web-page - you should look at the user rights. It's important that the user flower is using has access to "Virtual hosts".






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

SS,Cw A06v3AZ z1ozJ 0fJObQ6p7XFJ,0zCCxiSJpEKy5xr5Gs0D0rJyOqBA fgQEUfXtaeI ItpLu
ZHU,6xPEE,Xs0RPGCx,q,4,g8axXCZO rvrigF QphujFcqy6NMtwKaQ,lIpNLqOcv7H2Uf5kxX2E

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3