Redis on local server - Error - This operation is not available unless admin mode is enabled: KEYS'

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hello,

I configured redis server on my local system and configured in nopCommerce.

When I run nopCommerce 4.10, it's throw an exception with below message when redis cache remove.

StackExchange.Redis.RedisCommandException: 'This operation is not available unless admin mode is enabled: KEYS'


Here is exception message.

Here is redis server and client picture.

Configuration in Presentation\Nop.Web\appsettings.json

//Redis support (used by web farms, Azure, etc). Find more about it at https://azure.microsoft.com/en-us/documentation/articles/cache-dotnet-how-to-use-azure-redis-cache/
    "RedisCachingEnabled": true,
    "RedisCachingConnectionString": "127.0.0.1:6379,ssl=False",
    "PersistDataProtectionKeysToRedis": true,



Here is configuration picture.

Am I missing anything in configuration?
This error occur with fresh nopCommerce 4.10.

Any help will be appreciated.
4 years ago
This is resolved after added
allowAdmin=true",
in redis connection string.

So new redis connection string is something like -

"RedisConnectionString": "127.0.0.1:6379,ssl=False,allowAdmin=true",
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.