【发布时间】:2017-04-26 08:56:35
【问题描述】:
我们在 Azure Web Apps 上托管了一个 Umbraco 网站(版本 7.5.11)。
我们间歇性地遇到以下异常(过去 3 周内出现 3 次)。一旦发生异常,它就会关闭网站,直到我们在 Umbraco 中重新发布主节点。在所有其他时间,网站都按预期工作,包括从服务器检索图像文件。
异常类型:IOException
异常消息:发生了意外的网络错误。在 Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func1 getCacheItem, Nullable1 timeout, Boolean isSliding, CacheItemPriority 优先级, CacheItemRemovedCallback removedCallback, CacheDependency 依赖) 在 Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func1 getCacheItem, Nullable1超时,布尔 isSliding,CacheItemPriority 优先级,CacheItemRemovedCallback removedCallback,String[]dependentFiles) 在 Umbraco.Core.Cache.DeepCloneRuntimeCacheProvider.GetCacheItem(String cacheKey,Func1 getCacheItem,Nullable1 超时,布尔 isSliding,CacheItemPriority 优先级,CacheItemRemovedCallback removedCallback,String[]dependentFiles)在 Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetCacheValues(Int32 id, Func2 func) 在 Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id) 在 Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetById(UmbracoContext umbracoConte xt, Boolean preview, Int32 nodeId) at Umbraco.Web.PublishedCache.ContextualPublishedCache1.GetById(Boolean preview, Int32 contentId) at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound) at Umbraco.Web.PublishedContentQuery。 Umbraco.Web.UmbracoHelper.Media(String id) 处的媒体(Int32 id)
媒体文件存在,重新发布主节点使网站重新上线。
在发生异常时,没有部署任何代码更改,也没有在 Umbraco 中更新/发布任何页面。
有没有人经历过类似的事情,或者知道根本原因是什么?
【问题讨论】:
标签: azure umbraco azure-web-app-service umbraco7