Activities of "maliming"

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)'

: )

Can you reproduce the error without SetMinThreads?

hi

You can try to override IPermissionStore in Domain project.

Thanks 🙏

Answer

I am not very familiar with Kubernetes, if the application in the container can use HTTPS, then all the problems will be solved.

https://learn.microsoft.com/en-us/aspnet/core/security/docker-https?view=aspnetcore-8.0

Answer

: )

Answer

hi

The problem is Message '{CorrelationCookieName}' cookie not found. The cookie '{name}' has set 'SameSite=None' and must also set 'Secure'.

by the way, You can check this article https://abp.io/community/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n

Showing 3621 to 3630 of 11565 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.