Hi All,
My publish instance on the cloud is giving the below result for every URL -
Response - <html><body><h1>It works!</h1></body></html>
The favicon as you see is correctly loaded but the rest of the result is not.
The page "It works!" is as far as I know Apache Webserver's response.
However, when hitting from dispatcher the page us rendering correctly!
The Author's URL with query string ?wcmmmode=disabled is also generating the full page content.
What could be the reason for publish's behavior ?
When hitting from dispatcher here are the logs for the same -
Request URL - https://domainA.com/content/brandA/us/en/home.html?rohangarg=trueAgain123456?
1. HTTPD Access
cm-p57fgf-e459abv-aem-publish-abcjsfh-24fh4 - - 29/Aug/2022:10:38:44 +0000 "GET /content/brandA/us/en/home.html?rohangarg=trueAgain123456 HTTP/1.1" 302 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"
cm-p57fgf-e459abv-aem-publish-abcjsfh-24fh4 - - 29/Aug/2022:10:38:45 +0000 "GET /home?rohangarg=trueAgain123456 HTTP/1.1" 200 11374 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"
2. AEM Dispatcher
[29/Aug/2022:10:38:45 +0000] [I] [cm-p57fgf-e459abv-aem-publish-abcjsfh-24fh4] "GET /content/brandA/us/en/home.html?rohangarg=trueAgain123456" -2ms [brandA-farm/-] [actionhit] dev.domainA.com
3. HTTPD Error
Mon Aug 29 10:38:45.410243 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] Changing Host header to: dev.domainA.com.
Mon Aug 29 10:38:45.410504 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] Found farm domainA-farm for dev.domainA.com
Mon Aug 29 10:38:45.410524 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] checking [/content/brandA/us/en/home.html]
Mon Aug 29 10:38:45.410532 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] Query string ignored: rohangarg=trueAgain123456
Mon Aug 29 10:38:45.410559 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] never flushed [/mnt/var/www/html/content/brandA/us/en/.stat] -> use cache [/mnt/var/www/html/content/brandA/us/en/home.html]
Mon Aug 29 10:38:45.410568 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] cache-action for [/content/brandA/us/en/home.html]: DELIVER
Mon Aug 29 10:38:45.410571 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] request declined
Mon Aug 29 10:38:45.410608 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] response.headers[Content-Type] = "text/html;charset=utf-8"
Mon Aug 29 10:38:45.410620 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] response.headers[X-Content-Type-Options] = "nosniff"
Mon Aug 29 10:38:45.410630 2022 [dispatcher:debug] [pid 232:tid 140430993890104] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] response.headers[Age] = "20531"
Mon Aug 29 10:38:45.592394 2022 [dispatcher:debug] [pid 233:tid 140430995872568] [cm-p57yyy-e45zzzz-aem-publish-7fb74f76b-24fh4] Changing Host header to: publish-p57yyy-e45zzzz.adobeaemcloud.com.
@arunpatidar , @Mohit_KBansal , @kautuk_sahni
Thanks,
Rohan Garg
Solved! Go to Solution.