mher / flower

Real-time monitor and web admin for Celery distributed task queue
https://flower.readthedocs.io
Other
6.5k stars 1.09k forks source link

Flower web interface fails to load when importing fast_bitrix24 Bitrix module in Django project #1395

Open VitalyShrugged opened 2 months ago

VitalyShrugged commented 2 months ago

Describe the bug
Importing Bitrix from the fast_bitrix24 library into any Django project file causes Flower to fail to load its web interface. It keeps infinitely loading the page when attempting to access the designated port where Flower is running. No errors appear in the terminal during this process. The issue persists with both Redis and RabbitMQ as message brokers.

To Reproduce
Steps to reproduce the behavior:

  1. Import Bitrix in any Django file:
    from fast_bitrix24 import Bitrix
  2. Start your Django project and message broker (Redis or RabbitMQ).
  3. Run the Celery worker:
    celery -A <your_project> worker --pool=solo --loglevel=INFO --hostname=worker1@%n
  4. Run Flower:
    celery -A <your_project> flower --broker=redis://localhost:6379/0
  5. Open the Flower web interface on the specified port (default: :5555).
  6. The page keeps infinitely loading.

System Information