Cornerstone no longer saving changes and logs out users

Good Morning, this morning when editing pages with Cornerstone changes are not properly being applied or saved and when we click save the session expires forcing us to log back in. We are hosting at GoDaddy and there are no issues there. I have disabled all plugins and cleared all caches and the issue still exists.

We are at a full stop not able to do any edits. I appreciate any help you can provide!

Hi @GimmalAdmin,

I’ve checked your site and I’m not quite sure just yet why this is happening but have some information that might help. Cornerstone uses the WordPress REST API to communicate between the builder and the server. This is the same API used by Gutenburg. We use it as well so we can leverage WordPress authentication.

In Cornerstone, the API seems to work and respond normally right up until you try to save. Then it responds with this:

{"code":"rest_cookie_invalid_nonce","message":"Cookie nonce is invalid","data":{"status":403}}

A nonce is a cryptographic identifier that is used to prove a user is properly logged in. When the save takes place, it looks like all nonces are being invalidated and rejected.

Saving a page in Cornerstone is often a very large amount of data. What could be happening is GoDaddy has security rule that detects these large payloads and thinks they are malicious, so they immediately revoke the user session. I don’t know if this is the case but it would be worth seeing if there are any security settings you could change in your GoDaddy account, or asking them if this could be happening.

@alexander Thanks for getting back to me! I was searching for details on that same error code most of the day. I finally was able to sort it out by some malformed HTML code added in the ubermenu. It must have been breaking the persistence of the cookies.

Great to hear that! Thanks for letting us know you got it worked out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.