StackExchange.Redis icon indicating copy to clipboard operation
StackExchange.Redis copied to clipboard

Client stops working: RedisConnectionException

Open mjisaak opened this issue 12 years ago • 3 comments

Hello,

I use StackExchange.Redis (1.0.322) in a WCF Backend Application running in IIS on Azure Cloud Service. I observed that the client runs well for some time (1 - 2 days) but then stops working until I restart the IIS. This is not a transient fault, I guess that the ConnectionMultiplexer runs in an invalid state.

This is the exception: StackExchange.Redis.RedisConnectionException: No connection is available to service this operation

Any suggestions?

mjisaak avatar Aug 19 '14 08:08 mjisaak

This looks to be related to (and might be the same as) #38. @nmehlei's comment in that issue describes a very similar scenario to yours, and I get the same exception following incomplete reconnection (see my comment in that issue).

Can you cross-reference logs to check for any Redis server restarts around the time that your app stops working?

tekr avatar Sep 02 '14 10:09 tekr

hi k0dem0nkey, since I use the Redis service on azure, I can't get any logs from it. You are right, #38 looks very similar to my issue. I switched back to the Azure Managed Cache Service until there is a Solution.

mjisaak avatar Sep 08 '14 08:09 mjisaak

I'm closing this out since it appears to be the same issue as #38, which I just reopened.

NickCraver avatar Jan 25 '16 14:01 NickCraver