Skip to content

Can redis authentication be used with the queueserver? #337

@canismarko

Description

@canismarko

I was playing around with my redis configuration and trying to add authentication.

According to the redis-py docks, URLs with authentication details are accepted into from_url():
https://redis.readthedocs.io/en/stable/connections.html#redis.Redis.from_url

However, if I try to provide <username>:<password>@<host>:6379 as the redis_addr, the queueserver complains that the "Redis address is incorrectly formatted" since the check looks at the number of ':' characters in the addr.

Any way to work around this, or else maybe the ':' check could be a bit more sophisticated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions