Ask questionsBadHttpRequestException: Reading the request body timed out due to data arriving too slowly
We have an asp.net core 2.1 app running on .net 4.7 in azure web app service.
Recently we started getting A LOT of the following error:
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate.
Our app is under pretty constant heavy load (from incoming webhooks mostly). During big spikes, we tend to see more of these.
We used to run on asp.net core 2.0 / .net 4.6.1 for many months and we never saw that error before. It seems to have started happening following our recent upgrade to asp.net core 2.1 / .net 4.7.
We'd like to get to the bottom of this issue, but we are not even sure where to start. Any thoughts?
Answer questions BrandonPotter
Have been trying to track down this issue as to why ASP.NET Core 2.1 containers keep crashing on K8s. Thought it would abort the request but surprised that it seems to crash the process...