Cobra Forum

Plesk Panel => Webserver => Topic started by: mahesh on Jan 17, 2025, 05:58 AM

Title: Plesk domain served by CloudFlare shows 522 error Connection Timed Out
Post by: mahesh on Jan 17, 2025, 05:58 AM
Symptoms
522 error
Connection Timed Out

or:

ERR_CONNECTION_TIMED_OUT
Your connection is not private
This server could not prove that it is example.com; it's security certificate is not trusted

Cause
The current configuration on the end of Cloudflare for this domain blocks connections to sites with untrusted SSL. Alternatively, the domain's DNS records within the Cloudflare DNS zone are set up incorrectly (for example, one of the A records points to an IP that is not the IP of the Plesk server)

Resolution
Contact CloudFlare support for assistance with the manual configuration that has been done on the their end.

Alternatively, apply one of the following solutions:
Fix the configuration within Cloudflare
Attempt to fix the configuration for the domain on the side of Cloudflare by using the information in this article:

How to set up Plesk, mail autodiscover and Cloudflare to work together properly? - sections For a single domain
Stop using Cloudflare for this domain
1. Log into the domain registrar for the affected domain

2. Change the nameservers the domain uses from the nameservers provided by Cloudflare to the nameservers that are defined within the DNS zone of the domain on the side of Plesk (usually ns1.example.com and ns2.example.com)

3. Wait for the nameservers change to take effect, after which the website should be opening fine in your browser