Misleading error message pops up when creating a live copy for a page

This error occurs because the Skyline instance has a request time limit of 1 minute. The live copy is created even after the error is displayed.

Description description

Environment

Adobe Experience Manager (AEM)

Issue

When a user creates a live copy from the language master for a page with more than 100 children, an error message is seen: Fail to submit the form.

However, that error message is misleading, because the backend process is still working and the live copy is successfully created.

Resolution resolution

This error occurs because the Skyline instance has a request time limit of 1 minute.
If nothing comes from the server within this ingress timeout, the request fails with 503.

This error can also be seen from the browser developer console: The request to create the live copy starts at e.g., Date: Fri, 26 Aug 2022 10:33:36 GMT and it fails with a 503 error at date: Fri, 26 Aug 2022 10:34:36 GMT. Therefore, the HTTP request is terminated in 1 minute.

However, once the command to create the live copy is triggered, it gets created and appears in the site hierarchy after some time, although the UI shows the 503 error after ingress timed out. The logs also illustrate the fact that the live copy is created even after the error is displayed. The fact that the site has so many children, is the reason why it takes more time to complete.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f