[Django]-Setting requirepass on redis throws 'NOAUTH Authentication required'

4👍

Note: If you have any special symbols in your password it will throw base 10 error. You’re going to either have to convert the password to be url friendly or use a password without special characters.

CHANNEL_LAYERS = {
    "default": {
        "BACKEND": "asgi_redis.RedisChannelLayer",
        "CONFIG": {
            "hosts": [("redis://:mypassword@127.0.0.1:6379/0")],
        },
    },
}

Credits to PanosTrak from Discord and this github issue

👤Mike

Leave a comment