更新索引异常
SeriaWei opened this issue · comments
Wayne commented
fail: Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
System.NullReferenceException: Object reference not set to an instance of an object.
at ZKEACMS.HostOptionProvider.GetScheme() in /build/src/ZKEACMS/HostOptionProvider.cs:line 58
at ZKEACMS.HostOptionProvider.GetOrigin() in /build/src/ZKEACMS/HostOptionProvider.cs:line 49
at ZKEACMS.Search.Service.Crawler.Loadpage(WebPage page)
at ZKEACMS.Search.Service.Crawler.CrawlPageAsync(String url)
at ZKEACMS.Search.Service.CrawlBackgroundTask.ExecuteAsync(CancellationToken stoppingToken)
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
crit: Microsoft.Extensions.Hosting.Internal.Host[10]
The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted.
System.NullReferenceException: Object reference not set to an instance of an object.
at ZKEACMS.HostOptionProvider.GetScheme() in /build/src/ZKEACMS/HostOptionProvider.cs:line 58
at ZKEACMS.HostOptionProvider.GetOrigin() in /build/src/ZKEACMS/HostOptionProvider.cs:line 49
at ZKEACMS.Search.Service.Crawler.Loadpage(WebPage page)
at ZKEACMS.Search.Service.Crawler.CrawlPageAsync(String url)
at ZKEACMS.Search.Service.CrawlBackgroundTask.ExecuteAsync(CancellationToken stoppingToken)
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)