I am working on an existing .Net 6 application. I could see there are many of these exceptions in the logs.
Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate.
When I googled it then found a similar issue here, But in the accepted answer the user mentioned setting the value of MinRequestBodyDataRate
as 1024, and in my opinion, it should be set to < 240 (240 is the default value) value. because as per the exception message and the description it is saying that it is receiving the request at a slower rate so ideally so, it means the requester is sending the lesser than the expected bytes per second, so I think I should set it to a lesser value.
I have followed this doc as well, but didn't help much.
I am confused because, in this answer, the user has set the value to 100.
Also, I didn't understand what is a grace period in this context.
Note: I cannot reproduce it in my local system, which I why I can't try and test this. It's happening only in production applications.