REDIS timeout Error when connecting with REDIS server.

Lata Rajput 16 Reputation points
2021-10-01T06:07:02.957+00:00

Hi,

We are using Redis Server to maintain the session state management of asp.net webform application. We are using the Redis dll to connect with Redis server we are putting the configuration in web.config file (Please find the attached web.config ) and we are able to connect to server without an issue.

But when we are running the application we are getting the Redis timeout errors(Please find the attached screenshot of timeout) .We have created the sample application to stimulate the issue, so in sample application when we are generating 500 sessions with key value size more than 1 KB (Please find the attached code) , than we are continuously getting Redis Timeout errors.

Please let us know what should we do to handle this error.

136829-webconfig.txt - web.config file
136863-codetogenerate500sessionwithmorethan1kvaluesize.txt - Code To generate 500 session with more than 1kb size value.136855-screenshot-415.png

Regards,
Lata

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