November Happy Hour will be moved to Thursday December 5th.

Edit Mode doesn't load fully - 400 bad request responses for /shell/stores/* and /cms/stores/*

Vote:
 

We see this issue in a DXP multisite setup from time to time, it's quite common after idling a bit and then switching site...

Edit Mode only has the navigation parts and the main area is empty.

Looking in network tab of browser dev tools we see 400 responses for various URLs under /shell/stores/ and /cms/stores/.

Here's a Application Insights KQL query you can run in Logs if you have it:

requests
| where url contains "/cms/stores/" or url contains "/shell/stores/"
| where resultCode == "400"
| summarize sum(itemCount) by name
My results have occurrences for:
GET NotificationStore/Get [area/id/module]
GET ProfileStore/Get [area/id/module]
GET ContentTypeStore/Get [area/id/module]
GET SiteStructureStore/Get [area/id/module]
GET VisitorGroupStore/Get [area/id/module]
GET ComponentStore/Get [area/id/module]
GET UIDescriptorStore/Get [area/id/module]
GET ContextStore/Get [area/id/module]
GET ContentStore/Get [area/id/module]
GET SearchProviderStore/Get [area/id/module]

Usually a Ctrl+F5 in the browser makes it load fully.

Have not been able to grab any underlying exceptions (yet).

On .NET 6.0 and these versions currently:

<PackageReference Include="EPiServer.Azure" Version="11.1.0" />
<PackageReference Include="EPiServer.CMS" Version="12.17.1" />
<PackageReference Include="EPiServer.CloudPlatform.Cms" Version="1.3.1" />
<PackageReference Include="EPiServer.CMS.AspNetCore" Version="12.13.1" />
<PackageReference Include="EPiServer.CMS.AspNetCore.HtmlHelpers" Version="12.13.1" />
<PackageReference Include="EPiServer.CMS.AspNetCore.Mvc" Version="12.13.1" />
<PackageReference Include="EPiServer.CMS.AspNetCore.Routing" Version="12.13.1" />
<PackageReference Include="EPiServer.CMS.AspNetCore.Templating" Version="12.13.1" />
<PackageReference Include="EPiServer.CMS.Core" Version="12.13.1" />
<PackageReference Include="EPiServer.CMS.TinyMce" Version="4.1.0" />
<PackageReference Include="EPiServer.Find.Cms" Version="15.0.0" />
<PackageReference Include="EPiServer.Forms" Version="5.5.0" />
<PackageReference Include="EPiServer.Framework" Version="12.13.1" />
<PackageReference Include="EPiServer.Hosting" Version="12.13.1" />
#302326
Edited, May 25, 2023 7:49
Eric Herlitz - May 25, 2023 11:03
Can it be reproduced in all DXP-environments or locally?
Johan Kronberg - May 25, 2023 11:26
Have not been able to reproduce locally, it's quite easy to get into that situation on DXP though.
I guess it could be some cookie mixup etc since it seems hard to find any underlying information triggered by the request.
The domain name is the same for all DXP environments but with varying sub names.
Vote:
 

Got some information that this problem might be involved:
https://world.optimizely.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=CMS-24951

But after upgrading to latest packages (released August 22) we can still reproduce.

#307297
Aug 22, 2023 14:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.