Kevin Vella
Kevin Vella

Reputation: 1879

Azure DataCacheClient failing to respond from time to time

I am experiencing a problem with azure caching. My website is a very simple website which does not use any sessions, but azure applications must have at least 1 DataCacheClient set.

The website works perfectly, there is no problem when I browse the site BUT, I have included an email notification service within the Application_error of the global ofthe site to know if users are experiencing any errors when using the site.

As soon as I included the email error sending code, my mailbox started recieving the same error which includes:

Error Message:ErrorCode:SubStatus:There is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.)

Now I know that this can occur when the connection to azure services is lost, but why is it happening constantly? How can we fix it?

Any help would be appreciated!

Thanks!

Upvotes: 0

Views: 215

Answers (1)

Igorek
Igorek

Reputation: 15850

If you are not utilizing sessions why are you connecting to Azure cache? You do not need to instrument Azure AppFabric cache connection in the web.config, unless you have a particular need for it.

How many instances are you running on, how big is your azure cache account and is everyone of your users receiving the error or only intermittently? If the latter, is it after a some period of inactivity on the site that folks get errors?

Upvotes: 1

Related Questions