Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Sep 2022 01:42 PM by  Steve L
Reindex on Azure and Cache problem.
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:40
New Member


--
05 Sep 2022 10:59 AM
    We have a DNN+Revindex Storefront+Revindex Optimizer solution hosted on Azure in AppService. Since upgrade to RevIndex version 17.* a year ago we have following exceptions from time to time which effect with not working ProductDetail or Cart pages:

    022-09-04 00:06:35,336 [RD0003FF4C9AC7][Thread:53][ERROR] DotNetNuke.Services.Exceptions.Exceptions - System.Exception: Unknown error occurred requesting URL at /sklep/produkt/kosztorysowanie/norma-standard-2 from user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0 Safari/537.36 ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Revindex.Business.Revindex.Revindex.Storefront.RequiredProductController.GetCachedRequiredProductsByProductVariant(Int32 portalID, Int32 productVariantID)
       at Revindex.Business.Revindex.Revindex.Storefront.RequiredProductController.GetCachedActiveRequiredProductsByProductVariant(Int32 portalID, Int32 productVariantID)
       at Revindex.Dnn.RevindexStorefront.Controllers.ProductDetailModelController.GetViewModel(UserInfo user, String userHostAddress, Product product, List`1 variants, ProductVariant productVariant, Nullable`1 quantity, Nullable`1 bookingStartDate, Nullable`1 bookingStopDate, List`1 selectedProductPartModels, XElement dynamicFormResult, NameValueCollection queryString)
       at Revindex.Dnn.RevindexStorefront.Views.ProductDetailWebViewPage`1.InitializePage()
       --- End of inner exception stack trace ---
       at Revindex.Dnn.RevindexStorefront.Views.ProductDetailWebViewPage`1.InitializePage()
       at System.Web.WebPages.WebPageBase.PushContext(WebPageContext pageContext, TextWriter writer)
       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
       at DotNetNuke.Web.Razor.RazorEngine.Render(TextWriter writer)

    Unfortunately, exceptions show in undeterministic manner. There is no scenario which can led to this errors.
    We are using custom display templates based on newest versions provided by Revindex. In july 2022 we upgraded to RevIndex 18.2 but exceptions still occur

    Currently, when we know that this exception occurs we use 'Clear cache' operation and then it works. Although, we hope there is a better solution to this problem.

    As a quick fix/workaround maybe there is some option (scheduler?) that will invoke 'Clear cache' option automatically each hour?

     

      

    0


    Veteran Member


    Posts:2937
    Veteran Member


    --
    05 Sep 2022 01:42 PM

    This means your Azure instance is low on memory. Please add more memory. When the memory runs low the operating system will suddenly dump the cache unexpectedly causing retrieval to fail.

    thank you

    0
    You are not authorized to post a reply.