Error 522 HTTPS - SSL

Currently my website is running on cloudfare with https or ssl will be inaccessible and error 522

My first suggestion is to try setting SSL to Flexible, if it’s “Full” then it contacts the origin over port 443 which it may not support.

Thanks to Jud, I tried turning it flexibly, and testing port 443 is still working normally but the result is a 522 error.

Die you check all the other things mentioned in the KB article? Since flexible didn’t change anything wenn can exclude SSL at this point.