Activities of "vinay.step2gen@gmail.com"

it is working fine in local environment and but in production and stagging it is throwing the given error

An exception occurred while iterating over the results of a query for context type '"Volo.Chat.EntityFrameworkCore.ChatDbContext"'." ""System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913. at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection() at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()"

  • ABP Framework version: v7.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Exception message and full stack trace:An exception occurred while iterating over the results of a query for context type '"Volo.Chat.EntityFrameworkCore.ChatDbContext"'." ""System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913. at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection() at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.Enumerator.MoveNext()"

An exception occurred while iterating over the results of a query for context type '"Volo.Chat.EntityFrameworkCore.ChatDbContext"'." ""System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913. at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection() at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable1.Enumerator.MoveNext()" contextType "Volo.Chat.EntityFrameworkCore.ChatDbContext" newline " " error "System.InvalidOperationException: A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913. at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection() at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable1.Enumerator.MoveNext()" EventId { Id: 10100, Name: "Microsoft.EntityFrameworkCore.Query.QueryIterationFailed" } SourceContext "Microsoft.EntityFrameworkCore.Query" ActionId "b5744e44-c69c-4106-9e58-9f71fcc56002" ActionName "v3.spathios.Controllers.Orders.OrderController.GetOrderWithEventOrderChatUserByEventId (v3.spathios.HttpApi)" RequestId "0HN2JFH8O0JGI:0000001F" RequestPath "/api/app/orders/get-order-with-event-order-chat-user" ConnectionId "0HN2JFH8O0JGI" CorrelationId "dfe15bc3346c46c0a84453c591eac9be" ClientId "spathios_st_App" UserId d2644af0-0dec-eeca-e726-3a11b4f15376 TenantId e28e00ff-6a0c-81cb-a190-3a11b4f1508f Exception Message A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913. Type InvalidOperationException Exception A second operation was started on this context instance before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913. Stack Trace at Microsoft.EntityFrameworkCore.Infrastructure.Internal.ConcurrencyDetector.EnterCriticalSection() at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable1.Enumerator.MoveNext() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Boolean& found) at lambda_method8378(Closure, QueryContext) at EventOrderChatUserRepository.GetLastMessageDetails(Nullable1 eventOrderChatUserId, Nullable1 orderId, Nullable1 eventId, Nullable1 chatGroupId) in /home/runner/work/v3.backend/v3.backend/modules/Volo.Chat/src/Volo.Chat.EntityFrameworkCore/Volo/Chat/EntityFrameworkCore/EventOrderChatUsers/EventOrderChatUserRepository.cs:line 48 at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo) at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync() at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocat...

  • Steps to reproduce the issue: while opening chat on staging and production

Can we use session storage rather than local storage or cookies to store user and token information ? Default ABP store these stuff into the local storge of browser.

I mean to say that ,If I want to log in as another user on the same browser, by default ABP will log out the previous user and then log in the new user. So, can I override this functionality ?

Can't we override the default behavior provided by ABP ?

Did you mean by incognito window ?

Is there any way to do the same functionality on same browser so that i can achieve the same behavior ?

I want to be logged in as a different user in each tab of the same browser so that I can perform multiple tasks. Could you please let me know how I can achieve this behavior?

Example : I have two users test1 and test2. I want to be logged in as both users in different tabs of the same browser .

Log in as test1: Open a regular browsing window, navigate to the website where you want to log in as test1, and log in with the credentials for test1. Log in as test2 :Open a new tab on same browser, navigate to the same website and log in with the credentials for test2. This will allow you to be logged in as test1 in one tab and test2 in another tab within the same browser.

  • ABP Framework version: v7.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11