The CancellationTokenSource has been disposed (Umbraco 8.6.4)
Hi,
We have been experiencing publishing issues on our Umbraco 8.6.4 website.
We've looked through the logs and we're getting the following issues:
System.AggregateException: Exceptions were thrown by listed actions. ---> System.ObjectDisposedException: The CancellationTokenSource has been disposed.
at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
at Examine.LuceneEngine.Providers.LuceneIndex.SafelyProcessQueueItems(Action1 onComplete) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneIndex.cs:line 783
at Examine.LuceneEngine.Providers.LuceneIndex.PerformIndexItems(IEnumerable1 values, Action1 onComplete) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneIndex.cs:line 302
at Umbraco.Examine.UmbracoContentIndex.PerformIndexItems(IEnumerable1 values, Action1 onComplete) in D:\a\1\s\src\Umbraco.Examine\UmbracoContentIndex.cs:line 102
at Examine.Providers.BaseIndexProvider.IndexItems(IEnumerable1 values) in C:\projects\examine-qvx04\src\Examine\Providers\BaseIndexProvider.cs:line 76
at Umbraco.Web.Search.ExamineComponent.DeferedReIndexForContent.Execute(ExamineComponent examineComponent, IContent content, Boolean isPublished) in D:\a\1\s\src\Umbraco.Web\Search\ExamineComponent.cs:line 603
Any thoughts on how to sort this? The only thing we can do to resolve this is restart our back office app service (hosted in Azure).
Specifically, we restricted access to the umbraco admin area to a whitelist of IP addresses. However, the umbraco admin area was being denied access to the /umbraco/backoffice URLs it was trying to hit.
Explicitly adding the external IP of the azure app service to the whitelist seems to have resolved this issue, however we will keep an eye on it to see if it re-occurs.
The CancellationTokenSource has been disposed (Umbraco 8.6.4)
Hi,
We have been experiencing publishing issues on our Umbraco 8.6.4 website. We've looked through the logs and we're getting the following issues:
System.AggregateException: Exceptions were thrown by listed actions. ---> System.ObjectDisposedException: The CancellationTokenSource has been disposed. at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() at Examine.LuceneEngine.Providers.LuceneIndex.SafelyProcessQueueItems(Action
1 onComplete) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneIndex.cs:line 783 at Examine.LuceneEngine.Providers.LuceneIndex.PerformIndexItems(IEnumerable
1 values, Action1 onComplete) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneIndex.cs:line 302 at Umbraco.Examine.UmbracoContentIndex.PerformIndexItems(IEnumerable
1 values, Action1 onComplete) in D:\a\1\s\src\Umbraco.Examine\UmbracoContentIndex.cs:line 102 at Examine.Providers.BaseIndexProvider.IndexItems(IEnumerable
1 values) in C:\projects\examine-qvx04\src\Examine\Providers\BaseIndexProvider.cs:line 76 at Umbraco.Web.Search.ExamineComponent.DeferedReIndexForContent.Execute(ExamineComponent examineComponent, IContent content, Boolean isPublished) in D:\a\1\s\src\Umbraco.Web\Search\ExamineComponent.cs:line 603Any thoughts on how to sort this? The only thing we can do to resolve this is restart our back office app service (hosted in Azure).
Thanks
Anybody have any thoughts on what the issue can be?
Thanks
We've also just encountered this issue on a site running Umbraco v8.6.4 on an Azure app service.
In our case it is was due to additional security hardening we applied from this documentation:
https://our.umbraco.com/documentation/reference/security/Security-hardening/
Specifically, we restricted access to the umbraco admin area to a whitelist of IP addresses. However, the umbraco admin area was being denied access to the /umbraco/backoffice URLs it was trying to hit.
Explicitly adding the external IP of the azure app service to the whitelist seems to have resolved this issue, however we will keep an eye on it to see if it re-occurs.
Hey Paul,
I don't know if either of these is related to your issue, but:
https://github.com/umbraco/Umbraco-CMS/issues/8215
https://github.com/umbraco/Umbraco-CMS/issues/8612
Might be of interest
Thanks
Nik
Hi Nik/Chris,
Thanks for responding, this looks great. I'll have read through and let you know if it does the trick.
Thanks
Hi Paul,
Were you able to fix this issue? I am currently experiencing a similar problem on my v8.9.0 project.
is working on a reply...