Updating failed. the response is not a valid json response

Since your old post was still open, could you just reply to the old post instead of creating a new topic about the same issue? If you’re still waiting for more information after a few days, just bump the topic instead of starting over.

Yes and no.

The CA chain on our servers is perfectly normal and up to date.

The issue is that our panel doesn’t support uploading CA chains, so most automated systems, including our servers, cannot verify these SSL certificates.

Turning off SSL verification would work around this.

HOWEVER

Googling the error message confirms my suspicion: the problem is that your BROWSER does not get a valid JSON response from the SERVER. This is DEFINITELY NOT a problem with the SSL configuration in PHP, or with the API/loopback/whatever irrelevant nonsense the Health Check plugin complains about for no legitimate reason. And it may not be a PHP problem in the first place.

I had hoped the Console would show something useful, but apparently it does not.

So instead, could you see what the server actually returns?

To do so:

  1. Go to the WordPress admin page.
  2. Prepare your content but don’t hit the button which causes the error yet.
  3. Open your browser developer toolbar and go to the Network tab.
  4. Delete anything that’s already there, and enable Preserve Logs.
  5. Click the button which generates the error message.
  6. Find the first request that’s being generated.
  7. From the selected request, get a screenshot of the Headers panel and the Response panel.
1 Like