The 526 error in Webflow typically occurs when there is a conflict between Cloudflare's SSL configuration and Webflow's own SSL settings. When you enable Cloudflare's proxy DNS (commonly known as the orange cloud), all incoming traffic to your site passes through Cloudflare's servers before reaching your Webflow hosting.
In this case, the 526 error indicates that the SSL handshake between Cloudflare and Webflow failed. This failure can occur due to a few reasons:
1. SSL Configuration: Ensure that you have properly configured SSL both on Cloudflare and Webflow. Webflow offers SSL certificates by default for all custom domains on their hosting, so it's important to disable SSL in Cloudflare or switch it to the "Flexible SSL" option.
2. SSL Certificate Renewal: Sometimes, SSL certificates expire or need to be renewed. If the SSL certificate on your Webflow site expires and you haven't updated it, it can lead to a 526 error. Make sure your SSL certificate is up to date.
3. Mixed Content Issues: If your site references resources (e.g., images, scripts, or stylesheets) using HTTP instead of HTTPS URLs, it may cause a mixed content error on Cloudflare. Double-check that all your resources are being loaded over HTTPS.
4. DNS Configuration: Verify that your DNS settings in both Cloudflare and Webflow are correctly set up. Ensure that your Cloudflare DNS records are pointing to the correct Webflow IP address.
To resolve the 526 error, you can try the following steps:
1. Disable the orange cloud/proxy in Cloudflare DNS settings temporarily and see if your site works without it. If it does, then the issue lies in your Cloudflare SSL configuration.
2. Check the SSL settings in Webflow. If you have custom SSL enabled in Webflow, disable it for now and rely on Cloudflare's SSL.
3. Ensure that all your resources are loaded over HTTPS and that there are no mixed content warnings.
4. If none of the above steps work, it's worth reaching out to Webflow support or Cloudflare support for further assistance. They can analyze your specific setup and help diagnose the root cause of the issue.
Remember, the 526 error is specific to the SSL handshake between Cloudflare and Webflow, so it's important to focus on the SSL configuration and compatibility between these two services to resolve the error effectively.