520 error for server to server api calls

my request is blocked when I am trying to hit from my server to another domain for which DNS proxy is enabled in Cloudflare.
If I disable the DNS proxy and make it as DNS only then does the same request is reaching the server.
I tried IP whitelisting and adding a firewall rule for the same to allow particular requests in all cases, but still getting 520 error

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.