Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launch error while paassword contains special chars #202

Open
ConleyKong opened this issue Jun 2, 2021 · 3 comments
Open

launch error while paassword contains special chars #202

ConleyKong opened this issue Jun 2, 2021 · 3 comments

Comments

@ConleyKong
Copy link

celery could launch from a broker url contains special char password, but redbeat couldn't ,with error outputs:
CRITICAL/MainProcess] beat raised exception <class 'redis.exceptions.AuthenticationError'>: AuthenticationError('invalid password')

@ConleyKong
Copy link
Author

when password contains '#' this issue happens

@ConleyKong
Copy link
Author

just add a param setting in get_redis function:
StrictRedis.from_url(conf.redis_url, decode_responses=True, decode_components=True)
could solve this problem

@xrhstosmour
Copy link

I can confirm the problem exists for every special character.
Also by using quote_plus() python function, the problem does not resolve.
Is there any fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants