1. 程式人生 > 其它 >Skywalking 8.x 在.NET core 3.1 的錯誤 導致服務執行緒崩潰

Skywalking 8.x 在.NET core 3.1 的錯誤 導致服務執行緒崩潰

兄弟,在.NET CORE 3.1 使用skywalking 的時候 有沒遇到這樣問題的?

 

問題描述如下:

版本:

SkyAPM ASP.NET Core Agent. 1.3.0

SkyAPM.Diagnostics.AspNetCore notifies Web Http requests. 1.3.0

Microsoft.Utilities.DependencyInjection (IServiceCollection) support for SkyAPM. 1.3.0

 

 

 

 

環境變數:

 

 

 

Application: dotnet.exe CoreCLR Version: 4.6.27414.5 Description:
The process was terminated due to an unhandled exception. Exception Info:
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at SkyApm.Service.RegisterService.Polling(Int32 retry, Func`1 execute, CancellationToken cancellationToken)
at SkyApm.Service.RegisterService.RegisterServiceAsync(CancellationToken cancellationToken)
at SkyApm.Service.RegisterService.ExecuteAsync(CancellationToken cancellationToken)
at SkyApm.ExecutionService.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown --- at System.Threading.ThreadPoolWorkQueue.Dispatch()</