A task was canceled #295
-
|
Hello Team, I have hybrid .Net Core 8 web application with Angular 13. I use Duende Identity Server 7.2.8. In all these sequences of events we are getting following A task was canceled. exception while login/logout. In normal application events it is working fine. We have just migrated our web application from .Net core 6 ( Identity Server v4) to .Net core 8 with Duende Identity Server 7.2.8. In earlier version of Identity Server v4 we were not getting these errors. Please help me. System.Threading.Tasks.TaskCanceledException: A task was canceled. AND System.Threading.Tasks.TaskCanceledException: A task was canceled. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
These messages are most likely being logged because of HTTP requests that are being cancelled. If a SQL query was already started when that happens, the query will also be canceled early to prevent wasting server resources. You can optionally filter out these messages if you're using Serilog. |
Beta Was this translation helpful? Give feedback.
These messages are most likely being logged because of HTTP requests that are being cancelled. If a SQL query was already started when that happens, the query will also be canceled early to prevent wasting server resources.
You can optionally filter out these messages if you're using Serilog.