recently I have upgraded my application to CMS 10.3 hosted on Cloud. I am getting following error while loading couple of pages in edit mode.
Failed to load the preview within the given time constraints.
In console Network tab it shows red for following:
Hope someone has solution on this.
@Sanket, was this resolved by getting the correct CMS UI version? The issue you had in another post.
What version did you have before the upgrade? We show that when the page takes too long to load, so if you try again does it eventually load or does it always time out?
I think the same that pages which are taking time to load, or in case when Internet connection is poor, gives this issue. I was using EPi version 9.12 before and I never has this issue. Infact on 9.12 version same page is getting loaded and 10.3.1 it is giving error.
Is it CMS UI 10.3.1 or CMS Core 10.3.1? There's a CPU spike fix in Core 10.3.1 that might solve this.
Both CMS UI and Core are in 10.3.1. See below packages:
<package id="EPiServer.CMS" version="10.3.1" targetFramework="net45" /> <package id="EPiServer.CMS.Core" version="10.3.1" targetFramework="net45" /> <package id="EPiServer.CMS.UI" version="10.3.1" targetFramework="net45" /> <package id="EPiServer.CMS.UI.Core" version="10.3.1" targetFramework="net45" />
<package id="EPiServer.Framework" version="10.3.1" targetFramework="net45" />
FYI, The application is hosted in Azure with EPiServer.Azure version 126.96.36.199. Is there any configuration or something to increase the timeout period.
Hi Sanket and sorry for not answering this sooner. There is a appSetting for this timeout that you can set. The default value is 15 seconds.
<!-- Set iframe timeout to 20 seconds -->
<add key="episerver:ui:PreviewTimeout" value="20000" />
You can find some more information about it here: http://world.episerver.com/documentation/developer-guides/CMS/user-interface/configuring-cms-user-interface/
...or maybe fix the slow pages? :)