• Hello,

    We have created a WordPress/WooCommerce website for one of our clients. We noticed that out server load was increasing rapidly and found out it resolved to our client. After some debugging we managed to find out that a certain computer is having an infinite rest_cookie_invalid_nonce loop in the admin (seen through F12 > Network). After the rest_cookie_invalid_nonce message WordPress tries to create a new nonce, which is failing and repeating the process again. Because the client was working in multiple tabs this was creating alot of active processes on our server.

    It has something to do with the computer, because if I log in with the same admin I don’t have this issue. When we open the admin incognito on that computer there are no issues. I have already tried removing all cookies from the domein, this didn’t help. What could be causing this problem?

    Also couldn’t the WordPress core handle this differently, preventing an infinite loop?

    Thanks in advance.

    Regards,
    Emiel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Maybe it using a Cache page and trying to use an old Nonce instead of the current one. Nonces have a limited life span. So if has an old copy it would show as expired. Maybe there is a browser plugin or something causing it to use a cached page.

    Thread Starter 9degrees

    (@9degrees)

    Is there a way we can check the current nonce and where it has been set? They were using 3 browser plugins, I let them disable them all and check again. Unfortunately no difference.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Infinite rest_cookie_invalid_nonce loop’ is closed to new replies.