Skip to content

REDIS_BACKEND with password #135

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

Open
euchi opened this issue Apr 5, 2020 · 2 comments
Open

REDIS_BACKEND with password #135

euchi opened this issue Apr 5, 2020 · 2 comments

Comments

@euchi
Copy link

euchi commented Apr 5, 2020

File "/usr/local/lib/python3.7/site-packages/caching/invalidation.py", line 251, in get_redis_backend host, port = server.split(':')
ValueError: too many values to unpack (expected 2)

With redis://:my_password@redis:6379/0

@anto-rodriguez
Copy link

Having that same problem right now

@anto-rodriguez
Copy link

for future reference, this is the proper url format to avoid this issue : "redis://{REDIS_HOST}:{REDIS_PORT}/0?password={REDIS_PASSWORD}"

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