Skip to content

Failed to read the request form. Request body too large. The max request body size is 30000000 bytes #48708

Closed Answered by david-acker
Nefcanto asked this question in Q&A
Discussion options

You must be logged in to vote

Could you try configuring Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions instead?

API Docs: KestrelServerOptions

It looks like KestrelServerOptions actually used be in the Microsoft.AspNetCore.Server.Kestrel namespace back in ASP.NET Core 1.1, but has since been moved to Microsoft.AspNetCore.Server.Kestrel.Core. That old version of the docs is the first search result I'm getting for "KestrelServerOptions" on Google, which is a bit confusing.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Nefcanto
Comment options

Answer selected by Nefcanto
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants