The Timeout was Reached Before the Message in Sitecore Redis

While working on Sitecore PaaS you have a Redis issue. This time we have a Redis timeout issue but with a different message:

Solution:

After conducting research and using Google, I have discovered that there are 2 links from the above exception:

I am experiencing the "thread theft" of the reader. The parameter "rs" in the error message tells me the state of the reader. If this is frequently reporting CompletePendingMessage, it is possible that the reader loop has been hijacked when trying to set results. It's further elaborated in the Thread Theft.

To address this issue try adding the following early on in your application startup:

  ConnectionMultiplexer.SetFeatureFlag("preventthreadtheft", true);

The issue is more related to the StackExchange.Redis communities instead of Sitecore Support. If you continue to encounter the problem, reach out to StackExchange.Redis for assistance.

azure-cdn-sitecore

Happy Sitecoreing ðŸ˜Š

Comments

Popular posts from this blog

Sitecore Installation Error: Failed to Start Service 'Sitecore Marketing Automation Engine'

Import CSV Data in Sitecore Using PowerShell: Part-3

Sitecore Technology MVP Journey 2022