Wordfence being challenged by Cloudflare

Hi team, Hope you’re all doing well. I’m wondering if you can help me with a problem I’m facing with Wordfence.

Before Cloudflare integration, was working fine but after integration, scans failed to start.
Debugging the issue, it returns a “wp_remote_post() test back to this server failed! Response was:
200 OK” » [Screenshot](https://i.imgur.com/jIXaBNG.png)

On the details I see what looks like to me, cloudflare’s challenge page » [Screenshot](https://i.imgur.com/JR3IKtQ.png)

I followed the official guides to add Wordfence’s and my server’s IPs but no luck.

Took Cloudflares NS from the domain, started working again, no problem. But when added again, same problem.

Can you give me any hint on what may be wrong?

Thanks in advance

Check your security event log to find out the reason for the challenge and set a WAF rule to make it work…
https://dash.cloudflare.com/?to=/:account/security/events

Ensure when adding IPs you consider IPv6 as well.

Hey @sjr, thanks for your help.
Security events are empty » https://i.imgur.com/CC976fa.png
Both connectivity diags fail, ipv4 and ipv6 » https://i.imgur.com/RXOFQEG.png
Unfortunately, still unable to connect (os scan).
Side effect, Wordfence Central lost connection aswell, don’t know if it is for the same reason…