SQL Connection hang issue with .Net 5 and Microsoft.Extensions.Caching.SqlServer 5.0.1 #40207
Closed
1 task done
Labels
area-middleware
Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares
feature-caching
Includes: StackExchangeRedis and SqlServer distributed caches
Milestone
Is there an existing issue for this?
Describe the bug
I am using Microsoft.Extensions.Caching.SqlServer 5.0.1 in an asp net core application running in docker container using base image "aspnet:5.0-buster-slim". The application started hanging after deploying in one of our environments with CPU utilization shooting high, ultimately getting throttled by the limits. It took a long while to understand what was going on but finally we realized it was an issue with TLS 1.2, the sql server in the environment was not patched to handle it.
The issue is described here and the fix was done here and has been fixed in version 2.0 of Microsoft.Data.SqlClient as mentioned in release notes. It will be great if sql client reference is updated atleast to version 2.0 so that we do not run into this issue. Right now it is using version 1.0.
Expected Behavior
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: