hi koraykirdinli
Please enable the stdout logs and share it.
Thanks.
https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?view=aspnetcore-8.0#aspnet-core-module-stdout-log-iis
hi
Can you share your solution?
Override IPermissionStore
may not be the solution to your problem.
Also, even if we do not override IPermissionStore, abp.io permission store does not work. Menus are not loaded. Authorizations are not received. The values of permissions pulled from the redis appear to be null.
In this case, it would be better if you could share a project that reproduces the problem, and I will check it locally, it will be difficult to check your code in a remote meeting.
liming.ma@volosoft.com
Thanks
hi
We have fixed this in abp&volo8.3.2 and lepton 3.3.2.
I think this may be some problem with your application, if you can reproduce in a template project you can share it, I will check again.
we still can reproduce the issue in our application without SetMinThreads
Thanks. Can you share this project or make a simple project?
I want to reproduce and check it locally.
If abp code has problems your app will not restart.
hi
The log shows that an error occurred during the process of ReadFormAsync/ReadAsync
. It has nothing to do with the abp code. It is related to IIS. You can try switching to outofprocess
mode and try again.
Change the hostingModel="outofprocess"
in web.config file.
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-8.0#configuration-of-aspnet-core-module-with-webconfig
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/out-of-process-hosting?view=aspnetcore-8.0
2024-10-16 05:32:43.154 +00:00 [ERR] Unexpected exception in "IISHttpContext.ReadBody".
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'MemoryPool'.
at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument)
at System.IO.Pipelines.Pipe.RentMemory(BufferSegment segment, Int32 sizeHint)
at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint)
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.ReadBody()
2024-10-16 05:32:43.156 +00:00 [ERR] Unexpected exception in "IISHttpContext.ReadBody".
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'MemoryPool'.
at System.Buffers.MemoryPoolThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument)
at System.IO.Pipelines.Pipe.RentMemory(BufferSegment segment, Int32 sizeHint)
at System.IO.Pipelines.Pipe.AllocateWriteHeadSynchronized(Int32 sizeHint)
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.ReadBody()
at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result)
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.ReadAsync(Memory`1 memory, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.IIS.Core.HttpRequestStream.ReadAsyncInternal(Memory`1 buffer, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.BufferedReadStream.EnsureBufferedAsync(Int32 minCount, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.MultipartReaderStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
at Microsoft.AspNetCore.WebUtilities.StreamHelperExtensions.DrainAsync(Stream stream, ArrayPool`1 bytePool, Nullable`1 limit, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Features.FormFeature.InnerReadFormAsync(CancellationToken cancellationToken)
at Microsoft.AspNetCore.Mvc.ModelBinding.FormValueProviderFactory.AddValueProviderAsync(ValueProviderFactoryContext context)
at Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider.CreateAsync(ActionContext actionContext, IList`1 factories)
at Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider.TryCreateAsync(ActionContext actionContext, IList`1 factories)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegateProvider.<>c__DisplayClass0_0.<<CreateBinderDelegate>g__Bind|0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2024-10-16 05:32:43.168 +00:00 [INF] Executed action xxx.xxx.Controllers.xxxEvents.xxxEventController.CreateAsync (xxx.xxx.HttpApi) in 155926.4606ms
2024-10-16 05:32:43.168 +00:00 [INF] Executed endpoint 'xxx.xxx.Controllers.xxxEvents.xxxEventController.CreateAsync (xxx.xxx.HttpApi)'