Open Closed

Request Entity Too Large error #7173


User avatar
0
yunusemrecaglar created
  • ABP Framework version: v7.2.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

Hello, When I try to upload a 23 MB file, I receive a Request Entity Too Large error. I've tried to increase the file size in the config settings, but it didn't work, and I'm still getting the same error. Can you help?


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share the details error of Request Entity Too Large error?

    Thanks

  • User Avatar
    0
    yunusemrecaglar created

    2024-05-18 12:25:13.785 +03:00 [ERR] Request Entity Too Large Volo.Abp.Http.Client.AbpRemoteCallException: Request Entity Too Large at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.ThrowExceptionForResponseAsync(HttpResponseMessage response) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync(ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptorClientProxy1.CallRequestAsync[T](ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.CallRequestAsync[T](ClientProxyRequestContext context) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.GetResultAsync(Task task, Type resultType) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.ProceedAsync() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) at Pbys.Blazor.Pages.EmployeeManagement.Employee.Card.Tabs.Personality.DutyItems.EmployeeDuties.UpdateDecree(CreateDecreeParameterDto createDecreeParameterDto) in C:\Pbys\aspnet-core\src\Pbys.Blazor\Pages\EmployeeManagement\Employee\Card\Tabs\Personality\DutyItems\EmployeeDuties.razor.cs:line 309 at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task) at Pbys.Blazor.Pages.EmployeeManagement.DecreeOperation.Decree.List.Components.CreateDecreeModal.<>c__DisplayClass124_0.<<CreateOrUpdateDecreeAsync>b__3>d.MoveNext() in C:\Pbys\aspnet-core\src\Pbys.Blazor\Pages\EmployeeManagement\DecreeOperation\Decree\List\Components\CreateDecreeModal.razor:line 334 --- End of stack trace from previous location --- at Pbys.Blazor.Pages.EmployeeManagement.DecreeOperation.Decree.List.Components.CreateDecreeModal.CreateOrUpdateDecreeAsync() in C:\Pbys\aspnet-core\src\Pbys.Blazor\Pages\EmployeeManagement\DecreeOperation\Decree\List\Components\CreateDecreeModal.razor:line 332

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please also share the log of the API or Authserver websites.

    The above logs are coming from blazor website.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19