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

Flower Exceptions in GoogleAuth2LoginHandler without explicit usage

GitRon opened this issue · comments

Describe the bug

My flower is up and running. Nevertheless, my Sentry instance is collecting those exceptions from time to time. I'd like to keep my Sentry clean and tidy and therefore like to find a solution to avoid those errors.

To Reproduce

Command:

celery -A apps.config.celery_settings flower --port=5555 --basic_auth=my_user:my_password

Install flower and wait for some time 😞

Actually, I don't use the Google feature that is apparently causing the error.

Expected behavior

We don't get these exceptions or can disable them.

Screenshots
grafik

I am using flower v1.2.0.

Additional: This line seems to cause both errors:

flower/views/auth.py in get at line 42

redirect_uri = self.settings[self._OAUTH_SETTINGS_KEY]['redirect_uri']

It is loading Google Auth without any configuration too.

commented

Fixed by 9b7c81a

@mher Awesome ❤️ When will be the release of this fix?