title: Error 522 with Cloudflare and Google Cloud Platform
body: <p>I am new with google cloud platform and Cloudflare CDN. I am getting the &quot;Error 522&quot; connection timed out error. I contacted the Google Cloud Platform. They told me, No errors on their end. I also contacted the Cloudflare support. Here's what they gave me:</p>
  <ol>
  <li>Make sure that you're not blocking Cloudflare IPs in .htaccess, iptables or your firewall.</li>
  <li>Make sure your hosting provider isn't rate limiting or blocking IP requests from the Cloudflare IPs and ask them to whitelist the IP addresses here: <a href="https://www.cloudflare.com/ips" rel="nofollow noreferrer">https://www.cloudflare.com/ips</a>.</li>
  </ol>
  <p><strong>Now My Questions are:</strong></p>
  <ol>
  <li>How can I check Google Cloud Platform is not blocked Cloudflare IPs?</li>
  <li>How can I check Google Cloud Platform isn't rate limiting or blocking IP requests from the Cloudflare IPs.</li>
  <li>How to whitelist the IP addresses of Cloudflare.</li>
  </ol>
  <p>Thank you so much for your help.</p>