Skip to content
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

No connection is available to service this operation #1184

Closed
sarvabowmen opened this issue Jul 16, 2019 · 1 comment
Closed

No connection is available to service this operation #1184

sarvabowmen opened this issue Jul 16, 2019 · 1 comment

Comments

@sarvabowmen
Copy link

I am getting this error on a particular environment while connecting to AzureRedisCache

Client Version: StackExchange.Redis.StrongName (1.2.6)

I am getting this follwoing error,
No connection is available to service this operation: HSETNX "Key Name"
SocketClosed on SERVER-URL/Interactive, origin: ProcessReadBytes, input-buffer: 0, outstanding: 0,
last-read: 0s ago, last-write: 0s ago, unanswered-write: 280531s ago, keep-alive: 60s, pending: 0,
state: ConnectedEstablished, in: 0, ar: 0, last-heartbeat: 0s ago, last-mbeat: 0s ago, global: 0s ago, mgr: Inactive, err: never; IOCP: (Busy=1,Free=999,Min=8,Max=1000), WORKER: (Busy=2,Free=32765,Min=8,Max=32767), Local-CPU: n/a

Note: I am getting this error in the primary instance, not in secondary though

@NickCraver
Copy link
Collaborator

This can happen when Azure performs a failover behind the scenes. The handling is more graceful in 2.x with another fix going in #1374, but there will be no more updates to the 1.x line of StackExchange.Redis. If you are in a position to upgrade, I recommend trying the 2.1.x release likely later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants