flask-session icon indicating copy to clipboard operation
flask-session copied to clipboard

Add support for Redis Clusters in RedisSessionInterface

Open thebmw opened this issue 1 year ago • 1 comments

thebmw avatar Aug 31 '24 02:08 thebmw

Hi @Lxstr, could we consider merging this PR?

We're using AWS ElastiCache with Redis Cluster, but flask-session currently attempts to connect to a local Redis instance by default. As a result, we're seeing the following error when Flask calls

redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.

This PR resolves the issue by enabling flask-session to work properly with Redis Cluster. Thanks!

shinxi avatar Jun 06 '25 16:06 shinxi