You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I recently started getting the error below after publishing my project specially when more users started using the app. I am using asp.net core 2.1 with EF core repository pattern. This completely locks up the server. Any help would be greatly appreciated. This will randomly happen with different queries..
GraphQL.Controllers.GraphQLController:Error: GraphQL errors: GraphQL.ExecutionError: Error trying to resolve currentUser. ---> System.InvalidOperationException: A second operation started on this context before a previous operation completed. Any instance members are not guaranteed to be thread safe.
at Microsoft.EntityFrameworkCore.Internal.ConcurrencyDetector.EnterCriticalSection()
at Microsoft.EntityFrameworkCore.Internal.ConcurrencyDetector.EnterCriticalSectionAsync(CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext(CancellationToken cancellationToken)
at System.Linq.AsyncEnumerable.Aggregate_[TSource,TAccumulate,TResult](IAsyncEnumerable`1 source, TAccumulate seed, Func`3 accumulator, Func`2 resultSelector, CancellationToken cancellationToken)
Hi, I recently started getting the error below after publishing my project specially when more users started using the app. I am using asp.net core 2.1 with EF core repository pattern. This completely locks up the server. Any help would be greatly appreciated. This will randomly happen with different queries..
Startup.cs
controller.cs
Query.cs
The text was updated successfully, but these errors were encountered: