I am exploring Azure redis cache to use one of our application. I create a .net Core (3.1) Console application as given in the article https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-dotnet-core-quickstart
while i running the app am getting the below error
StackExchange.Redis.RedisConnectionException
HResult=0x80131500
Message=No connection is active/available to service this operation: SET Message; UnableToConnect on fis-prepaid-test-redis.cache.windows.net:6380/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 0s ago, last-write: 0s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 1s ago, v: 2.1.58.34321, mc: 1/1/0, mgr: 10 of 10 available, clientName: xxxxxxxxx, IOCP: (Busy=0,Free=1000,Min=4,Max=1000), WORKER: (Busy=0,Free=32767,Min=4,Max=32767), v: 2.1.58.34321
Source=StackExchange.Redis
StackTrace:
at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2810 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor
1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54
at StackExchange.Redis.RedisDatabase.StringSet(RedisKey key, RedisValue value, Nullable`1 expiry, When when, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 2500
at RedisAzure.Program.Main(String[] args) in E:\RnT\DistributedCache\RedisAzure\Program.cs:line 28
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
RedisConnectionException: UnableToConnect on fis-prepaid-test-redis.cache.windows.net:6380/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 0s ago, last-write: 0s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 1s ago, v: 2.1.58.34321
I am using Azure Visual studio subscription for this test application.
Please help why this error occurred. is there any option to check if the request kit the Azure redis or not.