CloudFlare challenges preventing Embeds (og:)

What is the name of the domain?

nekonya.classydev.fr

What is the error number?

No error number but I guess Discord gets a 403 forbidden when trying to make an embed out of the link

What is the error message?


What is the issue you’re encountering

I currently have added a custom WAF rule to add a Challenge on nekonya, but the issue is that the challenge prevents any og: properties and other metadata to be read by websites like Discord (no embed) or page insights.

What steps have you taken to resolve the issue?

I have no idea how to solve this, I haven’t tried anything.

Was the site working with SSL prior to adding it to Cloudflare?

Yes

What is the current SSL/TLS setting?

Full (strict)

What are the steps to reproduce the issue?

  • Go to Your Domain > Security > WAF > Custom rules, and create a rule with those parameters:
(http.host eq "nekonya.classydev.fr" and not starts_with(http.request.uri.path, "/api") and not starts_with(http.request.uri.path, "/static") and http.request.method eq "GET" and not starts_with(http.request.uri.path, "/images"))
  • Add some og: and meta properties on your website
  • Go to Discord, send the link, no embed appears
  • Go to Google Page Insights, and it gets a snapshot of the cloudflare challenge, so no real page insights.

Here is a screenshot of Discord: https://safe.classydev.fr/Discord_yq_Ie_ZU_20_YX-KgTvtE2AdQouzooeyZblIkVSl0PEZ5Fr.png

A post was split to a new topic: Cloudflare challenge did not search

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.