Skip to main content

Publishing to WordPress: “Received an empty response from the WordPress site” (or a similar error) in the log, or articles are not published but there are no errors

First of all, check that you have correctly followed these instructions!

(!) If you use Cloudflare or a similar serviceand you get an error when publishing, allow requests from the computer that runs ClipAI:

  1. In the Cloudflare dashboard, open Security → Security rules (in the old interface, Security → WAF) and click Create rule → Custom rules.
  2. Rule name: any name.
  3. In the expression (Edit expression), enter (ip.src eq 1.1.1.1), where 1.1.1.1 is the external IP of the computer that runs ClipAI.
  4. Action: Skip (skip the security checks for these requests).
  5. Save the rule and move it to the top of the list.

If you run into problems, you can do the same through IP Access rules: an Allow rule for your IP.

If that doesn't help, try the following. Open the ZennoPoster/ZennoBox settings:

Top left corner of the ZennoPoster window with the “Settings” button highlighted; clicking it opens the ZennoPoster settings.

Go to the “Execution” tab, check “Use an alternative method for sending HTTP requests” and increase “Number of HTTP request attempts”, for example to “5”.

If that doesn't help either, check whether any plugin (for example, a security plugin) is blocking the WordPress REST API.

Also check what your browser shows at https://your-site.com/wp-json/. You should see a JSON response (a lot of code). If you get a 404 error or a redirect to the home page, you have most likely disabled the “WordPress REST API” or “wp-json” in a security plugin or in the .htaccess file. It needs to be enabled again.

Or, if you run your own Apache server, run the command “sudo a2enmod rewrite”.

Also, according to users, the “Easy Table of Contents” plugin can cause this error.

Still have questions? Contact @a1exmurz or use the online chat (button in the bottom-right corner). We will answer any questions at any time. We can also set up ClipAI on your computer (via remote access) tailored to your needs. It's free!

ru_RURussian