aspnet / Session

[Archived] Session state middleware for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
126 stars 66 forks source link

Error closing the session #192

Closed amirjalali1 closed 7 years ago

amirjalali1 commented 7 years ago

After migrating to version 2.0 now i have this error " Error closing the session. " every second

is there anything i can do?

SourceContext
Microsoft.AspNetCore.Session.SessionMiddleware

System.OperationCanceledException: The operation was canceled.

   at System.Threading.CancellationToken.ThrowOperationCanceledException()

   at Microsoft.AspNetCore.Session.DistributedSession.<CommitAsync>d__32.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.AspNetCore.Session.SessionMiddleware.<Invoke>d__9.MoveNext()
Tratcher commented 7 years ago

Duplicate of https://github.com/aspnet/Session/issues/189