You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use Valkey with the IDistributedCache interface in C#. I have pulled the Valkey container using docker pull valkey/valkey and I am running it on the default port 6379. However, there are zero nuget packages for Valkey. So I used the latest Redis packages Microsoft.Extensions.Caching.StackExchangeRedis 8.0.5 and StackExchange.Redis 2.7.33, but I always get this error when trying to save something to the cache. Did I misconfigure the connection to the container or are the nuget packages really incompatible? And if it is the latter, is there any library for using Valkey in C#?
Thank you for your help!
The message timed out in the backlog attempting to send because no connection became available (5000ms) - Last Connection Exception:
It was not possible to connect to the redis server(s). ConnectTimeout, command=EVAL, timeout: 5000, inst: 0, qu: 1, qs: 0, aw: False, bw:
SpinningDown, rs: NotStarted, ws: Idle, in: 0, last-in: 0, cur-in: 0, sync-ops: 1, async-ops: 0, serverEndpoint: localhost:6379, conn-sec: n/a,
aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: MY-CLIENT-NAME(SE.Redis-v2.7.33.41805), IOCP: (Busy=0,Free=1000,Min=1,Max=1000),
WORKER: (Busy=2,Free=32765,Min=16,Max=32767), POOL: (Threads=8,QueuedItems=0,CompletedItems=268,Timers=6), v: 2.7.33.41805
(Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
I am trying to use Valkey with the IDistributedCache interface in C#. I have pulled the Valkey container using
docker pull valkey/valkey
and I am running it on the default port 6379. However, there are zero nuget packages for Valkey. So I used the latest Redis packagesMicrosoft.Extensions.Caching.StackExchangeRedis 8.0.5
andStackExchange.Redis 2.7.33
, but I always get this error when trying to save something to the cache. Did I misconfigure the connection to the container or are the nuget packages really incompatible? And if it is the latter, is there any library for using Valkey in C#?Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions