RedisSessionStateProvider ERR unknown command EVAL

Today in this article, we will cover below aspects,

Issue Description

Redis connection gives below error,

StackExchange.Redis.RedisServerException: RedisSessionStateProvider ‘ERR unknown command’ EVAL

RedisSessionStateProvider ERR unknown command EVAL

Resolution

The above error occurred when I was trying to connect to the Redis server using the ASP.NET Core application.

I installed the Server from https://github.com/MicrosoftArchive/redis/releases

I found this issue to be due to the Redis version used.

I was able to fix the issue by re-installing the Redis Server using WSL techniques.

sudo apt-get install redis-server
'ERR unknown command' EVAL

I have talked about Redis installation in Windows in the below article,

Did I miss anything else in these resolution steps?

Did the above steps resolve your issue? Please sound off your comments below!

Happy Coding !!



Please bookmark this page and share it with your friends. Please Subscribe to the blog to receive notifications on freshly published(2024) best practices and guidelines for software design and development.



Leave a Reply

Your email address will not be published. Required fields are marked *