I am receiving timeout errors on my redis server I am using for session state with a webforms site on AzureApps

Robert Woods 20 Reputation points
2025-04-09T19:01:09.65+00:00

Azure Redis server is being used as a session state server for a webforms site on appservice. The error message and stack trace indicate a StackExchange.Redis.RedisTimeoutException with a timeout occurring during an EVAL command.

This is a sudden issue without recent server changes and no abnormal spike in traffic. How can I resolve this issue. I've already moved up a service tier with no resolution.

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
291 questions
{count} votes

Accepted answer
  1. Adithya Prasad K 750 Reputation points Microsoft External Staff
    2025-04-15T18:41:54.9933333+00:00

    Hi Robert Woods,
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
    Issue:

    Hello,
    Azure Redis server is being used as a session state server for a webforms site on appservice. The error message and stack trace indicate a StackExchange.Redis.RedisTimeoutException with a timeout occurring during an EVAL command.

    This is a sudden issue without recent server changes and no abnormal spike in traffic. How can I resolve this issue. I've already moved up a service tier with no resolution.

    Solution:
    This below worked for me.
    Though my exceptions indicated a problem with the Redis server, it was actually 100% cpu usage on an app service app unrelated to the app that used the redis server. We have an app service subscription and have multiple apps running. The website used the redis server and exceptions of timeout were being raised, but they all went away when we realized an unrelated app on the same app service subscription was running at 100% cpu. I assume this caused the website to be slow and the redis server was the one raising the exception.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Robert Woods 20 Reputation points
    2025-04-15T18:04:07.2966667+00:00

    Though my exceptions indicated a problem with the Redis server, it was actually 100% cpu usage on an app service app unrelated to the app that used the redis server. We have an app service subscription and have multiple apps running. The website used the redis server and exceptions of timeout were being raised, but they all went away when we realized an unrelated app on the same app service subscription was running at 100% cpu. I assume this caused the website to be slow and the redis server was the one raising the exception.

    Issue resolved. Thank you to Adithya for helping.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.