This error shows up when your server sends a request to Rey’s API server (for license registration, theme updates, demo imports or premium plugins) but gets an empty response back. Almost always, something between your server and ours is blocking or stripping the request, usually a firewall.
Quickest fix: route the API calls through our mirror
Rey can send its API calls through a mirror server, hosted on a completely different network. If the direct connection to api.reytheme.com is what’s being blocked, the mirror simply avoids it.
Open the wp-config.php file, in the root folder of your WordPress installation, and add this line above the /* That's all, stop editing! Happy publishing. */ comment:
define('REY_API_URL_USE_ALTERNATIVE', true);Then head back to Rey’s Dashboard and try again. The mirror serves exactly the same data, so registration, updates, demo imports and plugin installs keep working as usual. Nothing else about your site changes.
Please note: this option requires Rey 3.3.1 or newer. If the line has no effect, double check that you’ve added it above that comment. Added below it, the setting is ignored.
Or, fix it at the source: ask your host to unblock our API
Contact your hosting support and ask them to check whether outgoing requests to https://api.reytheme.com/ are restricted on their end, and if so, to whitelist it.
If you’re using Cloudflare, or a security plugin with its own firewall, temporarily disable it and check whether the API requests go through. If they do, whitelist https://api.reytheme.com/ in its settings and turn it back on.
Still not working?
If neither of the above helps, your server’s IP may have been blocked by our hosting provider’s firewall, which automatically blocks suspicious IPs, usually ones belonging to shared hosting servers. That part is managed by our host, but we can reach out and ask them to whitelist your IP.
Please submit a new support request and make sure to send the following:
- your website URL;
- Your server ID address. If you don’t know what it is, please visit Rey’s Dashboard in the backend, and in the address bar, add
&debug=1at the end ex: screenshot and hit enter.
In the System Status box, please copy the IP info ex: screenshot . That’s it!