Azure / Azure/azure-functions-host
Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
We have deployed an Azure Function App with the Python 3.8 stack. For some requests, we have received a BadHttpRequestException
Exception while executing function: Functions. **Exception binding parameter 'req' Reading the request body timed out due to data arriving too slowly. See MinRequestBodyDataRate.**
But this exception is thrown from ASP .Net core . We are not sure what is causing this exception, network connectivity seems to fine.
Is it something to do with request payload size, if it is big and it resulting in slowness.
In Python Http Trigger Azure function, is it possible to change the **MinRequestBodyDataRate**?
Contributor guide
Research direction
No files or tests are named. Start by tracing how the Python HTTP trigger handles request-body reads and where MinRequestBodyDataRate is configured in the Azure Functions host. Done means establishing whether payload size or slow arrival causes this exception and whether Python HTTP triggers can change that setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp, python
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100