OpenResty JS/AES challenge blocks Googlebot + curl on all paths — sitemap rejected by Search Console

Website URL

gujarat-gyaan.is-great.org

Error Message

Every request to my domain — including /sitemap.xml and other paths — gets intercepted by an anti-bot challenge before reaching my Laravel app. Response headers:

HTTP/1.1 200 OK
Server: openresty
Content-Type: text/html
Cache-Control: no-cache

Body returned instead of actual content:

This site requires Javascript to work...

This happens for any client that can’t execute JS and set the resulting cookie — which includes Googlebot’s plain HTTP fetcher and curl. Confirmed via:

curl -A “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36” https://gujarat-gyaan.is-great.org/sitemap.xml

Result: this challenge page, Content-Type: text/html, instead of my actual XML sitemap.

Google Search Console now rejects the sitemap with:
Incorrect http header content-type: “text/html” (expected: “application/xml”)

Since this fires domain-wide (tested on multiple paths, not just sitemap.xml), it’s also likely blocking Googlebot from crawling my regular pages, not just the sitemap.

Question: Is this anti-bot/JS-challenge layer something that can be disabled or configured to allowlist known search-engine crawlers (Googlebot, Bingbot) for my domain? Or is this exclusive to premium hosting tiers?

Don’t worry, actual search engine crawlers have no issues accessing your website. Google Search Console does not use the Google search crawler for the sitemap validator, so that gets blocked, but actual search engine traffic won’t.