Skip to content

[BUG]: Redis SSL fails and isn't defined correctly for a connection pool #1073

@bryfur

Description

@bryfur

Version

25.4.2

Which installation method(s) does this occur on?

No response

Describe the bug.

When enabling the environment variable REDIS_USE_SSL, redis throws the exception 'got an unexpected keyword argument 'ssl''. In the documentation for redis connection pool https://redis.readthedocs.io/en/stable/connections.html#redis.connection.ConnectionPool: "By default, TCP connections are created unless connection_class is specified. Use class:.UnixDomainSocketConnection for unix sockets. SSLConnection can be used for SSL enabled connections.".

So it would seem the correct way to enable ssl with a redis connection pool is to pass the connection_class.

Minimum reproducible example

Relevant log output

Other/Misc.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions