VaultPress Issues

Every request that comes through the Firewall will use a Firewall IP when reaching the destination server, unless you configured your application to get the Visitor Real IP. VaultPress usually conflicts with the IP change, resulting in a connection error.

Fortunately, Sucuri has an official WordPress plugin that can solve this issue quickly. Simply install and activate the plugin and the issue will be gone.

However, if the plugin does not resolve the issue, you can also try adding the following code to your wp-config.php file, right after the “<?php” line:

if(isset($_SERVER['HTTP_X_SUCURI_CLIENTIP'])) {
    $_SERVER[REMOTE_ADDR] = $_SERVER['HTTP_X_SUCURI_CLIENTIP'];
}

If even with this code, you continue to face issues with VaultPress, please turn OFF the ”XMLRPC, Comments and Trackbacks blocked" filter on the Security Options section of the Firewall dashboard and wait a couple minutes before testing again.

Was this article helpful?