Before moving to Cloudflare, was your Website working over HTTPS connection?
Kindly, before doing anything at Cloudfalre settings, you could determine if you have a valid SSL certificate installed at the origin host/server by your web hosting provider or your own VPS/dedicated server following the steps from below:
Use the “Pause Cloudflare on Site” option from the Overview tab for your domain at dash.cloudflare.com .
The link is in the lower right corner of that page.
Give it five minutes to take effect, then make sure site is working as expected with HTTPS.
Check with your hosting provider / cPanel AutoSSL / ACME.sh / Certbot / Let’s Encrypt or some other and renew it accordingly.
Only then should you un-pause Cloudflare and double-check your SSL/TLS setting to make sure it’s Full (Strict).
May I ask what SSL option have you got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?
Here is a way to re-check if you correctly setup the SSL for your domain with Cloudflare:
Kindly re-check if Cloudflare is allowed to connect to your origin host within any firewall / contact web hosting provider to as follows in the below article:
I have just started using Apo but it is not active. I installed the WordPress plugin and connected it with the API token but in vain. what am i missing?
May I ask which steps for installation/activation and/or suggestions have you tried to apply for troubleshooting and fixing the issue from the article below?
Which APO version are you using? Is it the most recent and updated one?
Could you share your domain name here with us so we could double-check, troubleshoot and provide some feedback information?
Are you also using the official Cloudflare plugin for WordPress?
Have you tried enabling the APO through the Cloudflare plugin / WordPress interface?
Are you using some 3rd-party service/hosting provider?
Yes, 520 errors deals with an invalid JSON markup somewhere.
I checked my wp-config.php and functions.php to see if something wrong regarding REST API, there is nothing bad.
Yes, I already followed 520 ERRORS troubleshooting guides + Cloudflare SSL recommandations.
Before activating Cloudflare on my website, I was already with HTTPS and Let’s Encrypt valide certificate.
There is no alert in my Cloudflare dashboard regarding SSL. I’m in FULL mode, I tried to use FULL (STRICT), but it’s the same result.
Question : In section SSL/TLS > Origin Server
There is nothing here.
Do I need to create a Cloudflare certificate for my origin server (even if my hosting already provide a Let’s Encrypt valid certificate) ?
I also tested to toggle my domain from Proxied to DNS ONLY, it’s the same result.
BUT, now the 520 ERRORS reason changed, with “ERR_HTTP2_PROTOCOL_ERROR”.
I tried to disable one by one some features in section SSL/TLS > Edge Certificates
It’s still the same result on my Wordpress dashboard from the plugin settings page.
The solutions you shared are very technical. I disabled the page cache in chrome, but there was no solution.
*Version: 4.11.0
*https://www.gamevcore.com
*yes official wp Cloudflare plugin
*yes tried enabling APO throughthe CF plugin/WP interface.
*i have just local hosting.
Moderators should see the post, the approve of it!
Lower trust levels/newer members seem to have their posts blocked by it!
Yeah, I think it’s kinda differing from the actual topic myself, but other posts seem to do it
Akismet is NOT owned by Cloudflare; It’s a system through discourse (the software which this lovely community runs through, no that was not sarcasm) and it’s probably thinking your post is spam! As I said earlier, the mods (or a mod) should see the post, then approve it (you’ll be notified and it should show here, if it’s approved)!
I am testing out and trying to make some connection, as there was lately a topic where Cloudflare throws 520 only on a specific /wp-includes/wlwmanifest.xml file, while the file is existing and not being restricted, therefore the rest of the WordPress is working normally just this particular file 520 I wonder if that’s some kind of a sign or case or what else might be that’s happening, anything similar in your case.
After toggle my domain as DNS ONLY (not proxied), I still get 3 errors (520) : compiled.js?ver=4.11.0:54 PATCH https://myserver/wp-admin/admin-ajax.php?action=cloudflare_proxy net::ERR_HTTP2_PROTOCOL_ERROR
And I can see these logs in the console :
we can see the most correct fetched data and some failed
compiled.js?ver=4.11.0:50 action @@router/LOCATION_CHANGE @ 14:59:14.766
compiled.js?ver=4.11.0:50 action CONFIG_FETCH @ 14:59:14.769
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:14.770
compiled.js?ver=4.11.0:50 action USER_LOGIN_SUCCESS @ 14:59:14.771
compiled.js?ver=4.11.0:50 action ZONES_FETCH @ 14:59:14.772
compiled.js?ver=4.11.0:50 action @@router/CALL_HISTORY_METHOD @ 14:59:14.773
compiled.js?ver=4.11.0:50 action @@router/LOCATION_CHANGE @ 14:59:14.776
compiled.js?ver=4.11.0:50 action CONFIG_FETCH_SUCCESS @ 14:59:16.231
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.233
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.234
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.235
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.236
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.237
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.239
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.240
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.240
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.241
compiled.js?ver=4.11.0:50 action CONFIG_UPDATE_BY_KEY @ 14:59:16.242
compiled.js?ver=4.11.0:50 action INTL_FETCH_TRANSLATIONS @ 14:59:16.243
compiled.js?ver=4.11.0:50 action INTL_FETCH_TRANSLATIONS_SUCCESS @ 14:59:16.286
compiled.js?ver=4.11.0:50 action APPLICATION_INIT @ 14:59:16.286
compiled.js?ver=4.11.0:50 action ZONES_FETCH_SUCCESS @ 14:59:17.223
compiled.js?ver=4.11.0:50 action ZONE_SET_ACTIVE_ZONE @ 14:59:17.233
compiled.js?ver=4.11.0:50 action DNS_RECORD_FETCH_LIST @ 14:59:17.235
compiled.js?ver=4.11.0:50 action ZONES_RAILGUNS_FETCH_ALL @ 14:59:17.238
compiled.js?ver=4.11.0:50 action PLUGIN_SETTINGS_FETCH @ 14:59:17.241
compiled.js?ver=4.11.0:50 action ZONE_FETCH_SETTINGS @ 14:59:17.243
compiled.js?ver=4.11.0:50 action ZONES_ENTITLEMENTS @ 14:59:17.245
compiled.js?ver=4.11.0:50 action PLUGIN_SETTINGS_FETCH_SUCCESS @ 14:59:18.789
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "id" values. Using the earlier value. REMOVED-REMOVED-REMOVED-REMOVED REMOVED-REMOVED-REMOVED-REMOVED
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "type" values. Using the earlier value. A TXT
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "content" values. Using the earlier value. XXX.XXX.XXX.XXX google-site-verification=REMOVED-REMOVED-REMOVED-REMOVED
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "proxiable" values. Using the earlier value. true false
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "created_on" values. Using the earlier value. 2022-09-07T21:19:10.113582Z 2022-09-07T21:19:10.111137Z
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "modified_on" values. Using the earlier value. 2022-09-11T12:53:12.817305Z 2022-09-07T21:19:10.111137Z
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "id" values. Using the earlier value. REMOVED-REMOVED-REMOVED-REMOVED REMOVED-REMOVED-REMOVED-REMOVED
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "type" values. Using the earlier value. A TXT
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "content" values. Using the earlier value. XXX.XXX.XXX.XXX REMOVED-REMOVED-REMOVED-REMOVED
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "proxiable" values. Using the earlier value. true false
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "created_on" values. Using the earlier value. 2022-09-07T21:19:10.113582Z 2022-09-07T21:19:10.108355Z
compiled.js?ver=4.11.0:15 When merging two removedremovedremovedremoved, found unequal data in their "modified_on" values. Using the earlier value. 2022-09-11T12:53:12.817305Z 2022-09-07T21:19:10.108355Z
compiled.js?ver=4.11.0:50 action DNS_RECORD_FETCH_LIST_SUCCESS @ 14:59:19.705
compiled.js?ver=4.11.0:50 action ZONES_ENTITLEMENTS_SUCCESS @ 14:59:19.790
compiled.js?ver=4.11.0:50 action ZONES_RAILGUNS_FETCH_ALL_SUCCESS @ 14:59:20.939
compiled.js?ver=4.11.0:50 action ZONE_FETCH_SETTINGS_SUCCESS @ 14:59:22.024
compiled.js?ver=4.11.0:50 action PLUGIN_SETTING_UPDATE @ 14:59:22.050
compiled.js?ver=4.11.0:50 action PLUGIN_SETTING_UPDATE @ 14:59:22.053
compiled.js?ver=4.11.0:50 action ZONE_UPDATE_SETTING @ 14:59:22.055
It’s unbelievable that no Cloudflare engineer can provide an answer to this kind of problem.
Just in case, kindly, I’d suggest you to write a ticket to the Cloudflare support and share your ticket number here with us so we could escalate your issue. Maybe we can get some more information or maybe there is something being stuck “in the air”
Login to Cloudflare and then contact Cloudflare Support by clicking on the Get More Help button. If you get automatic reply, reply and indicate to it you need more help and reference to this topic
You might be offered to switch to the new Customer Support Portal and create a ticket there.
Please let me know if you need any further assistance.
Yes, despite the Wordpress Cloudflare Plugin is active on Wordpress, the Wordpress Cloudflare Plugin cannot appear as enabled in the Cloudflare dashboard because its not detected, that’s my issue guys…
Given the lack of response of Cloudflare support regarding my problem, I abandoned the idea of using the Automatic Platform Optimization (APO) feature.