"Failed to save page" error when using Templates

Hello all!

We have noticed we get 'failed to save page: server error" messages when we create a page using a template. This happens regardless of whether its a standard template page or one we’ve created. The page still saves but the error message being thrown is definitely misleading - and causing some brief moments of anxiety for our users. This error does not show up if we create a blank page.

Is there something we need to change in the config files (maybe an approach like the one mentioned here) or some other solution we can try to remove this message?

Note - I’ve started a new post here instead of adding to an older one from 2019: 9927 even though we are encountering the same issue.

Thanks!

Hi! I just tested on a fresh 16.7.0-snapshot instance with the article template, and it worked without any issue. I’m not sure about what could cause your issue, I think it’d be easier to help if you could share some of the server error log. Knowing what version this issue appeared on / what version you’re currently running could also help.

Have a good day,
Lucas C.

1 Like

Hi @CharpentierLucas, @jgilmore! I will keep an eye on this as well. In the last, let’s say, three or four release I saw that messages in a random timing. I’ve never been able so far to reproduce the error or to find a pattern. They never caused lost of changes but, as @jgilmore said, caused some moments of users’ anxiety!

I would say that they have never shown up, or they have not been reported, while working with XWiki Debian 16.6.0 running on Ubuntu 22.04.4 LTS.

Thanks!

We are currently on XWiki 16.1.0.

Updated to XWiki Debian 16.7.0 without a glitch!

Hi, note that this issue is historically tracked by Loading... and it is seemingly something that still keeps bothering some XWiki admins and users. It is a little bit of mystery…

1 Like

As discussed in the mentioned issue, this is basically an issue with an incorrect SSL setup where XWiki doesn’t properly get the information about https being used. The issue only reproduces when creating pages from templates because for them a refactoring job is started and the job’s status URL is wrongly using http instead of https. Further, the issue seems to be only reproducing in Edge but not in Firefox. If you have this issue, you should check the configuration that is mentioned in the comments of XWIKI-14046.

1 Like

Thanks Michael!

We’re on Chrome. I will check the configuration mentioned :slightly_smiling_face:

Have a nice day!

Julia