Hi, Recently I was trying to implement this library with one of my current Django project. For caching I have used Redis. This project was running before with this library enabled and it was showing no errors and working fine. Because the project was deployed in Kubernetes and the Redis instance was also deployed inside Kubernetes as a pod. The connection protocol was HTTP and it was working fine.
But for some reason I had to move from Kubernetes to a different system. Now for caching I am using AWS Elasticache Redis Serverless. The connection protocol is now HTTPs. This is not an issue and can be implemented though there is no particular documentation about it. However, when the library is trying to check the version of the Redis an AttributeError has thrown.
You will get the details of the error in the below attached screenshot.
After digging down I found that the script is trying to split the version numbers. This works because the return value was in String format but for some reason it seems like the AWS Elasticache Redis Serverless is returning the value in Float format thus causing the script to fail.

Hi, Recently I was trying to implement this library with one of my current Django project. For caching I have used Redis. This project was running before with this library enabled and it was showing no errors and working fine. Because the project was deployed in Kubernetes and the Redis instance was also deployed inside Kubernetes as a pod. The connection protocol was HTTP and it was working fine.
But for some reason I had to move from Kubernetes to a different system. Now for caching I am using AWS Elasticache Redis Serverless. The connection protocol is now HTTPs. This is not an issue and can be implemented though there is no particular documentation about it. However, when the library is trying to check the version of the Redis an AttributeError has thrown.
You will get the details of the error in the below attached screenshot.
After digging down I found that the script is trying to split the version numbers. This works because the return value was in String format but for some reason it seems like the AWS Elasticache Redis Serverless is returning the value in Float format thus causing the script to fail.