I have a site using Serverpilot with SSL enabled using their AutoSSL. The site works fine and is accessible via https when Cloudflare is disabled (grey cloud). However when enabling Cloudflare, the site is not accessible, and I see a page with the following error:
Search for these error codes here. The certificate on the proxied wont have issued yet. The articles you will find will also tell you what to do in this case.