Take the community feedback survey now.

Page three not loading when creating a link inside blocks (CMS 12)

Vote:
 

On my clients live-server (an azure VM) the "Create link" modal times out after 20 seconds when opening the page three modal in the "Create link" dialogue. It's this call that timesout:

/EPiServer/cms/Stores/contentstructure/4?typeIdentifiers=episerver.core.pagedata&allLanguages=true&ownerContentLink=32545

They don't have find on that site, so it's epis internal search that's being executed.

The strange thing is that it works just fine when opening that modal from a page type but for some reason it crashes when trying to edit a link inside a block. 

Has this happened to anyone else? Of all the sites I've worked on (hosted both on-prem, azure and azure vm) this is the first time this has happened.

#339624
Jul 11, 2025 8:28
Manoj Kumawat - Jul 23, 2025 7:30
Is that possible that it is trying to load the ´episerver.core.pagedata´ but I am not completely sure. I would look at any special UIHint if it's associated with. Otherwise, look at the dojo script with debugger ON.
Vote:
 

That does indeed sound weird. How does the similar request look when invoked from a page?

Those requests does not use Find or another index. It simply uses the GetChildren method from the content loader. Do they have many pages below the start page (I assume you ID 4 is a start page).

Does it also time out on local host?

#339745
Jul 17, 2025 16:06
Vote:
 

Try to check the logs to see if there is any information. If you are unable to figure out anything from the logs, try increasing the timeout time.

 

I hope this article will help to increase the timeout

https://docs.developers.optimizely.com/content-management-system/docs/configuring-cms-user-interface

 

#339790
Jul 22, 2025 15:25
Vote:
 

It works just fine both on my local machine and on our test-server, which makes me suspect that there's something with the Azure-setup that's causing this. The request from a page looks just fine and loads rather quickly (as expected). They don't have that many pages under the start page so it shouldn't slow down the request.

The logs doesn't give anything, which is frusrating, and since it works just fine on my local machine plus the test-server I can't debug it in a proper manner.

The timeout that occurs is the Azure-timeout (we get a 504 gateway timeout) so it's not the code that timeouts but I can always try to raise the preview timeout. We've tried raising the gateway timeout but that caused the server to crash when multiple editors were using it.

#339912
Aug 11, 2025 6:51
Vote:
 

Hello Alexander,

Can you share more information about the structure of your content items and the version of the CMS you're using?

Have you registered any code onto the content loading events? Are you using the A/B Testing Add-on for Optimizely CMS?  I've observed that this addon causes issues with performance in the content loading events in DXP.

#339916
Aug 11, 2025 8:53
Vote:
 

Hi Mark

The site used EpiServer.CMS 12.33.1, .net8. No custom loading events or A/B-testing. It's a five-language site and the structure can be a bit messy unfortunatelly since editors doesn't always create language versions of a page but instead create a new page instead.

#339917
Aug 11, 2025 9:06
Vote:
 

Hi Alexander, 

Just now today, Optimizely has delisted version 12.33.2 but that might not be an issue since you were on 12.33.1 but worth checking.

Interestingly, the release note (1st) points to some loading state

Did you try upgrading to 12.33.3

I would also look for any custom EditorDescriptor that loads along with modal causing probable issues.

 

#339919
Aug 11, 2025 9:24
Vote:
 

U've upgraded to 12.33.3 and it seems that some request are indeed a little faster but the initial call is still timeing out after 20 seconds (because if Azure 504 timeout)

I'm curious about /EPiServer/cms/Stores/contentstructure/4?typeIdentifiers=episerver.core.pagedata&allLanguages=true&ownerContentLink=32545 though. ID 4 is the "content asset"-folder and if I RDP into the Azure VM that request takes around 58 seconds to be called.

I'm not sure why the code tries to filter pagedata with the content asset-folder as starting point though. Seems a bit odd? It doesn't seem to cache the list eather since if I reload the page and open the page modal again it takes around a minute to load the page three into the modal again.

#339921
Edited, Aug 11, 2025 10:29
Manoj Kumawat - Aug 11, 2025 10:48
Assuming you have integrated blob storage and it is on-premise solution. Then you should enable static cache if it's not there (sorry if I am being dumb here). I suppose it is trying to get the request cache for assets view when you open the content link.
Alexander Wagner - Aug 11, 2025 11:00
I was under the impression that episerver caches those calls internally, no?
Vote:
 

So I've solved it.

Turned out that the blobs-folder had some strange permissions issues (a lot of sub folders refused to inherit the permissions from blob-folder) so for a very long time (probably a year or so) neither "Remove Abandoned BLOBs" nor "Remove Unrelated Content Assets" scheduled job could run properly (getting access denied errors). After fixing that issue I could re-run those jobs and number of folders in blob-folder decreased from ca 1 150 000 folders to around 500 000 folders and many, many thousands of assets folders were removed.

So in the end, the problem was a bloated database because necessary scheduled jobs didn’t execute properly.

#340035
Edited, Aug 22, 2025 12:04
Stefan Holm Olsen - Aug 22, 2025 12:50
Aha. One of those cases where the cause lies a completely different place than the symptom. Thanks for sharing your findings.
* 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.