-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redis Timeout Exception - .NET Framework 4.8, everything async #2803
Comments
It's normal to receive occasional timeouts due to things like Redis server maintenance. We recommend implementing a command retry strategy using something like Polly |
Thank you for the response! I can add some more context: This is running against an AWS ElastiCache Redis cluster with two nodes. From what I can tell, there was no maintenance during this period when we received this error. Along with that, there were several servers going to our Redis cluster during this time, and only one of the servers ended up with this error |
We do see similar issue retry already implemented. 2024-09-17 9:47:50 ERROR [Sdl.Web.Delivery.Caching.CacheHandlers.RedisCache.RedisCacheHandler 2024-09-17 9:45:54 ERROR [Sdl.Web.Delivery.Caching.CacheHandlers.RedisCache.RedisCacheHandler Any ideas? I appreciate any help with this. |
hi @philon-msft, I have also experienced a couple of random time outs even when the Redis server load is low -------Exception information------ |
Hi,
Every now and again we are receiving the following exception from StackExchange.Redis:
Timeout awaiting response (outbound=0KiB, inbound=0KiB, 5703ms elapsed, timeout is 5000ms), command=SETEX, next: SET xxxxx, inst: 0, qu: 0, qs: 0, aw: False, bw: SpinningDown, rs: ReadAsync, ws: Idle, in: 34, last-in: 0, cur-in: 0, sync-ops: 0, async-ops: 440495, serverEndpoint: xxxxx, conn-sec: 76835.98, aoc: 1, mc: 1/1/0, mgr: 10 of 10 available, clientName: xxxx(SE.Redis-v2.8.16.12844), PerfCounterHelperkeyHashSlot: 141, IOCP: (Busy=2,Free=998,Min=2,Max=1000), WORKER: (Busy=6,Free=32761,Min=2,Max=32767), v: 2.8.16.12844 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
This is while running on a .NET Framework 4.8 application, with every call being async.
Any ideas? I appreciate any help with this.
The text was updated successfully, but these errors were encountered: