yalcin
June 20, 2025, 2:22am
1
In relation to this and this post, which are marked as solved…
Unlike above posts, my problem is not solved by AAAA records, or CURL…
I am now getting same error message as other users:
PHP wp_remote_post: Error - wp_remote_post request failed. Please check your server configuration. Required for query filters. [Using Cloudflare Bot Fight Mode? Try disabling it](https://academy.bricksbuilder.io/article/known-issues#cloudflare)
Strangely:
I cloned this from another website - the original works fine
This clone with the error is on a subdomain of the original, and it is hosted on same server, hardware, theme, plugins etc.
This clone was working fine for a while after the cloning, and later decided it will give me this error.
No CDNs etc involved
No AAAA records involved.
CURL is installed, operational.
Error persists when ALL plugins are deactivated.
Noticed the error a week ago (may be relevant).
Hi there,
Please use a code element and execute this and provide a screenshot of your result.
<?php
$url = add_query_arg(
[
'action' => 'bricks_system_info_wp_remote_post_test',
'nonce' => wp_create_nonce( 'bricks-nonce-admin' )
],
admin_url( 'admin-ajax.php' )
);
$args = [
'sslverify' => false,
'body' => '',
'timeout' => 10,
'cookies' => $_COOKIE,
];
$response = \Bricks\Helpers::remote_post( $url, $args );
if( is_wp_error( $response ) ) {
echo '<pre>';
var_dump( $response->get_error_message() );
echo '</pre>';
} else {
echo '<pre>';
var_dump( $response['body'] );
echo '</pre>';
}
?>
yalcin
June 20, 2025, 6:12am
3
Thanks for looking into this @itchycode
screenshot attached:
Something is blocking the request.
Check your server firewall configuration or seek help from your hosting support.
Maybe it’s coming from your All-in-one Security plugin.
Regards,
Jenn
yalcin
June 22, 2025, 9:06am
5
Thank you @itchycode – it turned out to be the site authentication setting for the site. It remembered me this whole time, and I’d forgotten that it was active. I only figured it out when trying to debug from another computer and it asked me to login.
</ embarrassed>
1 Like