Homepage pagebuilder tab broken only on QA and Prod

Our XbyK app is live and functioning. All live pages are working, but the homepage pagebuilder tab shows a white screen. The issue occurs only on QA and Production. The issue does not occur locally, or when running locally against the QA or Production databases.

Previously, this was not an issue. No significant changes have been made to the layout file, the homepage page type, or anything else on this site. It's just suddenly not working. Could this be server issue? We recently had other sites on the same server load balanced. This site with the issue now runs through the load balancer but is not load balanced.


This error shows up in the event log:

Error detail

Event ID

13445

Source

VirtualContextHashOrUserValidationFailed

Event code

VIRTUALCONTEXT

User ID

65

User name

public

IP address

xxx

Description

[null]
Message: This virtual context URL is not valid.

Exception type: CMS.Helpers.Internal.InvalidVirtualContextException
Stack trace:
at CMS.Helpers.Internal.VirtualContext.LoadVirtualContextValues(String& relativePath)
at Kentico.Content.Web.Mvc.VirtualContextUrlRewriterBase.ProcessVirtualContextRequestInternal(HttpContext context, HandleRewriteAction handleRewrite, HandleInvalidUrlAction handleInvalidUrl)


Environment

  • Xperience by Kentico version: [30.12.1]

  • .NET version: [8]

Tags:
Page Builder Xperience Administration
0

Answers

If the app works in environments without a load balancer, sounds like the load balancer is the issue!

You can inspect the <iframe> in the Page Builder that displays the page in "Page Builder" mode. The URL of the <iframe> will look something like this:

/cmsctx/pm/6415b8ce-8072-4bcd-8e48-9d7178b826b7/lang/en/wpid/16/cid/1/cdid/141/readonly/0/pbmode/edit/h/71f0288e109e9eadea8309e08e7a6adfaae8301c2f19c6220c7e5bf2aedb5c4b/-/coffee-samples?instance=ff3070e9-4ae4-4a77-bc6d-da16596c3851&uh=f2fd098c52384b94b93229728ceb0c5eea0ae80c5b083e43081f0af2036cd7b5

The section of the URL above -/coffee-samples?instance= is what identifies the URL, so a home page request will look like -/?instance= . These URLs have signatures that cannot be modified.

Look in your load balancer logs for blocked requests or proxy URL rewrites that are breaking that Page Builder URL.

0

Thanks for the feedback, Sean! I took your notes and I've been looking into the possibility of this being a load balancer issue.

These things are now making me doubt the load balancer theory after all:

-Page builder works on all other pages (requests like "/cmsctx/pm/.../-<page-name>?")

-Page builder works on the home page of a sister site on the same server (requests like "/cmsctx/pm/.../-/?")


Is there anything else that could be going on here - specifically with the homepage page builder on only one site on the server?

-QA and Prod are on the same server (both have issues)

-Running locally against QA/Prod dbs (no issues)

-Running locally (no issues)

0

To response this discussion, you have to login first.