Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul de Quant 403 posts 1520 karma points
    Sep 21, 2020 @ 08:43
    Paul de Quant
    0

    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).

    Thanks

  • Paul de Quant 403 posts 1520 karma points
    Sep 22, 2020 @ 13:50
    Paul de Quant
    0

    Anybody have any thoughts on what the issue can be?

    Thanks

  • Chris Evans 137 posts 353 karma points c-trib
    Sep 29, 2020 @ 02:46
    Chris Evans
    0

    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.

  • Nik 1593 posts 7151 karma points MVP 6x c-trib
    Sep 29, 2020 @ 08:09
    Nik
    0

    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

  • Paul de Quant 403 posts 1520 karma points
    Sep 29, 2020 @ 10:46
    Paul de Quant
    0

    Hi Nik/Chris,

    Thanks for responding, this looks great. I'll have read through and let you know if it does the trick.

    Thanks

  • dev-thandabantu 41 posts 321 karma points
    Sep 14, 2022 @ 06:30
    dev-thandabantu
    0

    Hi Paul,

    Were you able to fix this issue? I am currently experiencing a similar problem on my v8.9.0 project.

Please Sign in or register to post replies

Write your reply to:

Draft