dotnet
config_error
ai_generated
true
ConnectionResetException: connection limit exceeded on Kestrel
ID: dotnet/kestrel-connection-limit
80%Fix Rate
84%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 8 | active | — | — | — |
Root Cause
Kestrel web server hit connection limit.
genericWorkarounds
-
88% success Tune KestrelServerOptions.Limits.MaxConcurrentConnections
-
90% success Use reverse proxy (nginx/YARP) for connection management
Dead Ends
Common approaches that don't work:
-
Set MaxConcurrentConnections to unlimited
78% fail
Memory exhaustion under load
-
Restart Kestrel on connection errors
82% fail
Drops all existing connections