Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Dispatcher not retrieving content with Vhost but will display already cached content

Avatar

Level 2

We have a domain resolving to our AEM environment and we are seeing this issue.

A call using the domain "http://staging.thissite.com/page" will not retrieve the content at /content/site/en/page.html however we do get the site custom error page.

If the content has been cached previously using "http://dispatcher.url.com/content/thissite/en/page.html" then it will be served correctly using the URL above.

So our virtual host redirects are working and do point to the cache location but will not make the dispatcher retrieve the content if not already cached.

Our dispatcher logs are set to debug(3) but we are not seeing any entries except for the single call and a 404.

The one difference between the two calls that I can see is that during the 404 we are getting [publishfarm/0] and during a successful return we are getting [publishfarm/-].

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hello kentt20248023

This isn't a dispatcher or a caching issue. The publisher specifically denied the request and it's likely due to the fact that at first you're hitting the website with http protocol,

Firsltly, http://staging.OURSITE.com/viewall/nutrition/just-eat-half​ fails the first time because the Publisher isn't configured to accept http traffic. I am assuming that staging.oursite.com is the Load Balancer and it should be a https site rather than http. Please test this with https:// protocol

Secondly, the reason https://OURDISPATCHER.adobecqms.net/content/bcbs/ecards/en/viewall/nutrition/just-eat-half .html works is because it's an https:// request, and therefore publisher accepts it.

Lastly, http://staging.OURSITE.com/viewall/nutrition/just-eat-half​ works because this time around because the request didn't have to go to the publisher, and therefore no possibility of a rejection.

In short, please use https:// url with your staging.outsite.com url and your issue should be solved.

Thanks,

Aneet Arora

View solution in original post

0 Replies

Avatar

Community Advisor

Dear Kent,

Thank you for your question to this forum,

Sorry few questions to understand issue better..

Could you kindly check permissions(groups) on your apache process && write location, is it allowed to create content in your folder?

How have you configured short url via Dispatcher or AEM Publisher?

Does publisher return 200 correct page?

Regards,

Peter

Avatar

Level 2

We are on AMS in Azure. All Apache management is handled there. The process can write and does so for content retrieved from the front end URL.

Short URL is created by Publisher with mapping.

Using URLwith no cache:

[Wed Oct 10 07:56:17 2018] [I] [pid 62524 (tid 139782076208896)] "GET /content/bcbs/ecards/en/viewall/nutrition/healthy-lunches.html" 404 5378 27ms [publishfarm/0]

Using URL with previously cached content from the traffic manager URL:

[Wed Oct 10 08:00:20 2018] [I] [pid 61026 (tid 140152978441984)] "GET /content/bcbs/ecards/en/viewall/nutrition/healthy-lunches.html" - + 51ms           [publishfarm/0]

Using traffic manager URL:

[Wed Oct 10 08:00:47 2018] [I] [pid 61026 (tid 140153163081472)] "GET /content/bcbs/ecards/en/viewall/nutrition/healthy-lunches.html" - - 0ms           [publishfarm/-]

So is the issue identified by  [publishfarm/0]? We have the domain in publish-vhosts.any and the custom 404 page from the site is returned.

Avatar

Community Advisor

Dear Kent,

Thank you for your reply,

Have you also added the domain to the yourSiteName.conf VirtualHost config file?

Regards,

Peter

Avatar

Level 2

yourSiteName.conf contents in /etc/httpd/conf.d

<VirtualHost *:80>

  ServerName staging.yourSiteName.com

  RewriteEngine On

RewriteCond %{REQUEST_URI} !^/apps

RewriteCond %{REQUEST_URI} !^/bin

RewriteCond %{REQUEST_URI} !^/content

RewriteCond %{REQUEST_URI} !^/etc

RewriteCond %{REQUEST_URI} !^/home

RewriteCond %{REQUEST_URI} !^/libs

RewriteCond %{REQUEST_URI} !^/tmp

RewriteCond %{REQUEST_URI} !^/var

  RewriteRule ^/(.*)$ /content/bcbs/ecards/en/$1.html [PT,L]

  DocumentRoot /mnt/var/www/html

   <Directory /mnt/var/www/html>

     <IfModule disp_apache2.c>

       SetHandler dispatcher-handler

       ModMimeUsePathInfo On

     </IfModule>

     Options FollowSymLinks

     AllowOverride None

   </Directory>

</VirtualHost>

Avatar

Community Advisor

Thank you,

May I ask you to add following config to your dispatcher as specified in oficial Adobe documentation[0]

[0] Apache mod_rewrite not being respected

1) Make sure you set the DispatcherUseProcessedURL to 1 (This tells Dispatcher to use the pre processed URL)

Now, after implementing this rule, please check you Publisher access.log and request.log and verify whether you get request from your Dispatcher for /content/bcbs/ecards/en/viewall/nutrition/healthy-lunches.html

Regards,

Peter

Avatar

Level 2

Yes, DispatcherUseProcessedURL is set to 1.

As I said in my initial post, the content is cached when calling directly to the dispatcher front end URL. The non-dispatcher URL can then return the content since it is in cache. So all redirects and DispatcherUseProcessedURL are working.

If the content is not in cache the non-dispatcher URL cannot get dispatcher to fetch it from publisher.

Using URL with content not in cache(404):

[Wed Oct 10 07:56:17 2018] [I] [pid 62524 (tid 139782076208896)] "GET /content/bcbs/ecards/en/viewall/nutrition/healthy-lunches.html" 404 5378 27ms [publishfarm/0]

Using traffic manager URL(works):

[Wed Oct 10 08:00:47 2018] [I] [pid 61026 (tid 140153163081472)] "GET /content/bcbs/ecards/en/viewall/nutrition/healthy-lunches.html" - - 0ms [publishfarm/-]

Using URL with content in cache(works):

[Wed Oct 10 08:00:20 2018] [I] [pid 61026 (tid 140152978441984)] "GET /content/bcbs/ecards/en/viewall/nutrition/healthy-lunches.html" - + 51ms [publishfarm/0]

So is the issue identified by [publishfarm/0]? We have the domain in publish-vhosts.any and the custom 404 page from the site is returned.

Avatar

Level 5

Hello kentt20248023

DispatcherUseProcessedURL basically means that the dispatcher will processed/rewritten URL rather than the originally supplied URL to the webserver and the setting being set to "1" is accurate. However, you must confirm that the web server that's hosting the dispatcher has been restarted ever since you've made this update.

If the above has been followed, could you please set the DispatcherLogLevel to trace i.e. DispatcherLogLevel trace instead of DispatcherLogLevel 3, restart the web server that's hosting the dispatcher and then replicate the issue? You can post the snippet where 404 is thrown and that can give us some more details around the issue.

Avatar

Level 2

All three phases:

http://staging.OURSITE.com/viewall/nutrition/just-eat-half  (first time, no cache)

[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] Found farm publishfarm for staging.OURSITE.com
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] checking [/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html]
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] Cache rule entry /0000 allowed '/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html'
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] cachefile does not exist: /mnt/var/www/html/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] try to create new cachefile: /mnt/var/www/html/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] cache-action for [/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html]: CREATE
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] Filter rule entry /0113 allowed 'GET /content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html HTTP/1.1'
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] Creating new socket: 172.27.58.37:4503
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] Connected to backend 0 (172.27.58.37:4503)
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.uri = "/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[X-Forwarded-Proto] = "http"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[user-agent] = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[accept-encoding] = "gzip, deflate, sdch"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[accept-language] = "en-US,en;q=0.8"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[accept] = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[host] = "staging.OURSITE.com"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[max-forwards] = "10"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[cookie] = "__atuvc=0%7C37%2C12%7C38%2C16%7C39%2C14%7C40%2C40%7C41; ApplicationGatewayAffinity=2bf56748f4829aa6808fec45c8c508e6cf879b9a193379f47610716cf23aecf8"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[Via] = "1.1 staging.OURSITE.com (dispatcher)"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[X-Forwarded-For] = "172.27.58.102"
[Wed Oct 10 11:30:50 2018] [T] [pid 27026 (tid 139767043823360)] request.headers[Server-Agent] = "Communique-Dispatcher"
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] response.status = 404
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] response.headers[Date] = "Wed, 10 Oct 2018 15:30:50 GMT"
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] response.headers[X-Content-Type-Options] = "nosniff"
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] response.headers[X-Frame-Options] = "SAMEORIGIN"
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] response.headers[Content-Type] = "text/html;charset=utf-8"
[Wed Oct 10 11:30:50 2018] [D] [pid 27026 (tid 139767043823360)] Storing socket for later reuse: 172.27.58.37:4503
[Wed Oct 10 11:30:50 2018] [I] [pid 27026 (tid 139767043823360)] "GET /content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html" 404 5378 30ms [publishfarm/0]

https://OURDISPATCHER.adobecqms.net/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html

[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] checking [/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html]
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] Cache rule entry /0000 allowed '/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html'
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] cachefile does not exist: /mnt/var/www/html/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] try to create new cachefile: /mnt/var/www/html/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] cache-action for [/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html]: CREATE
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] Filter rule entry /0113 allowed 'GET /content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html HTTP/1.1'
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Creating new socket: 172.27.58.37:4503
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Connected to backend 0 (172.27.58.37:4503)
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.uri = "/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[X-Forwarded-Proto] = "https"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[user-agent] = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[accept-encoding] = "gzip, deflate, sdch, br"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[accept-language] = "en-US,en;q=0.8"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[accept] = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[host] = "OURDISPATCHER.adobecqms.net"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[max-forwards] = "10"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[cookie] = "_vwo_uuid_v2=D2438EDC8B2F690CA524AAB4AD34DEB5B|206318b3c740c5447e4d5e3745aa6246; AMCVS_8F99160E571FC0427F000101%40AdobeOrg=1; lang=en; __atuvc=5%7C37%2C0%7C38%2C3%7C39%2C5%7C40%2C7%7C41; AMCV_8F99160E571FC0427F000101%40AdobeOrg=1687686476%7CMCIDTS%7C17815%7CMCMID%7C06190926912394866332201068225881085915%7CMCAID%7CNONE%7CMCOPTOUT-1539184576s%7CNONE%7CMCAAMLH-1539782226%7C7%7CMCAAMB-1539782226%7Cj8Odv6LonN4r3an7LhD3WZrU1bUpAkFkkiY1ncBR96t2PTI%7CMCSYNCSOP%7C411-17788%7CvVersion%7C3.0.0%7CMCCIDH%7C-1534066966; s_cc=true; s_sq=%5B%5BB%5D%5D; ApplicationGatewayAffinity=fb3fe7cd787cdeddaccfc03ba607cff4584d634a2cf8577d8706274c05ffc0db"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[Via] = "1.1 OURDISPATCHER.adobecqms.net (dispatcher)"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[X-Forwarded-For] = "172.27.58.100"
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] request.headers[Server-Agent] = "Communique-Dispatcher"
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Cache file successfully created: /mnt/var/www/html/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Storing socket for later reuse: 172.27.58.37:4503
[Wed Oct 10 11:34:02 2018] [I] [pid 27028 (tid 139767018645248)] "GET /content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html" - + 43ms [publishfarm/0]
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] checking [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.css]
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] Cache rule entry /0000 allowed '/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.css'
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] cache-action for [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.css]: DELIVER
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] request declined
[Wed Oct 10 11:34:02 2018] [I] [pid 27028 (tid 139767018645248)] "GET /etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.css" - - 0ms [publishfarm/-]
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] checking [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.css]
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] Cache rule entry /0000 allowed '/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.css'
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] cache-action for [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.css]: DELIVER
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] request declined
[Wed Oct 10 11:34:02 2018] [I] [pid 27028 (tid 139767018645248)] "GET /etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.css" - - 0ms [publishfarm/-]
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] checking [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.css]
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] Cache rule entry /0000 allowed '/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.css'
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] cache-action for [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.css]: DELIVER
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] request declined
[Wed Oct 10 11:34:02 2018] [I] [pid 27028 (tid 139767018645248)] "GET /etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.css" - - 0ms [publishfarm/-]
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] checking [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.js]
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] Cache rule entry /0000 allowed '/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.js'
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] cache-action for [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.js]: DELIVER
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] request declined
[Wed Oct 10 11:34:02 2018] [I] [pid 27028 (tid 139767018645248)] "GET /etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-plugins.min.js" - - 0ms [publishfarm/-]
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] checking [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.js]
[Wed Oct 10 11:34:02 2018] [T] [pid 27028 (tid 139767018645248)] Cache rule entry /0000 allowed '/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.js'
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] cache-action for [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.js]: DELIVER
[Wed Oct 10 11:34:02 2018] [D] [pid 27028 (tid 139767018645248)] request declined
[Wed Oct 10 11:34:02 2018] [I] [pid 27028 (tid 139767018645248)] "GET /etc.clientlibs/bcbs/clientlibs/ecards/clientlibs.min.js" - - 0ms [publishfarm/-]
[Wed Oct 10 11:34:03 2018] [D] [pid 27028 (tid 139767018645248)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:03 2018] [D] [pid 27028 (tid 139767018645248)] checking [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.js]
[Wed Oct 10 11:34:03 2018] [T] [pid 27028 (tid 139767018645248)] Cache rule entry /0000 allowed '/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.js'
[Wed Oct 10 11:34:03 2018] [D] [pid 27028 (tid 139767018645248)] cache-action for [/etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.js]: DELIVER
[Wed Oct 10 11:34:03 2018] [D] [pid 27028 (tid 139767018645248)] request declined
[Wed Oct 10 11:34:03 2018] [I] [pid 27028 (tid 139767018645248)] "GET /etc.clientlibs/bcbs/clientlibs/ecards/clientlibs-footer.min.js" - - 0ms [publishfarm/-]
[Wed Oct 10 11:34:03 2018] [D] [pid 27026 (tid 139766926325504)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:03 2018] [D] [pid 27026 (tid 139766926325504)] checking [/]
[Wed Oct 10 11:34:03 2018] [D] [pid 27026 (tid 139766926325504)] request URL has no extension: /
[Wed Oct 10 11:34:03 2018] [D] [pid 27026 (tid 139766926325504)] cache-action for [/]: NONE
[Wed Oct 10 11:34:03 2018] [T] [pid 27026 (tid 139766926325504)] Filter rule entry /0001 blocked 'GET / HTTP/1.1'
[Wed Oct 10 11:34:03 2018] [D] [pid 27026 (tid 139766926325504)] Filter rejects: GET / HTTP/1.1
[Wed Oct 10 11:34:03 2018] [I] [pid 27026 (tid 139766926325504)] "GET /" ! - 0ms [publishfarm/-]
[Wed Oct 10 11:34:03 2018] [D] [pid 27027 (tid 139766917932800)] Found farm publishfarm for OURDISPATCHER.adobecqms.net
[Wed Oct 10 11:34:03 2018] [D] [pid 27027 (tid 139766917932800)] checking [/]
[Wed Oct 10 11:34:03 2018] [D] [pid 27027 (tid 139766917932800)] request URL has no extension: /
[Wed Oct 10 11:34:03 2018] [D] [pid 27027 (tid 139766917932800)] cache-action for [/]: NONE
[Wed Oct 10 11:34:03 2018] [T] [pid 27027 (tid 139766917932800)] Filter rule entry /0001 blocked 'GET / HTTP/1.1'
[Wed Oct 10 11:34:03 2018] [D] [pid 27027 (tid 139766917932800)] Filter rejects: GET / HTTP/1.1
[Wed Oct 10 11:34:03 2018] [I] [pid 27027 (tid 139766917932800)] "GET /" ! - 0ms [publishfarm/-]

http://staging.OURSITE.com/viewall/nutrition/just-eat-half (after above caching)

[Wed Oct 10 11:40:57 2018] [D] [pid 24219 (tid 140281877882624)] Found farm publishfarm for staging.OURSITE.com
[Wed Oct 10 11:40:57 2018] [D] [pid 24219 (tid 140281877882624)] checking [/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html]
[Wed Oct 10 11:40:57 2018] [T] [pid 24219 (tid 140281877882624)] Cache rule entry /0000 allowed '/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html'
[Wed Oct 10 11:40:57 2018] [D] [pid 24219 (tid 140281877882624)] cache file is newer than lastflush -> use cache [/mnt/var/www/html/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html]
[Wed Oct 10 11:40:57 2018] [D] [pid 24219 (tid 140281877882624)] cache-action for [/content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html]: DELIVER
[Wed Oct 10 11:40:57 2018] [D] [pid 24219 (tid 140281877882624)] request declined
[Wed Oct 10 11:40:57 2018] [I] [pid 24219 (tid 140281877882624)] "GET /content/bcbs/ecards/en/viewall/nutrition/just-eat-half.html" - - 0ms [publishfarm/-]

Avatar

Correct answer by
Level 5

Hello kentt20248023

This isn't a dispatcher or a caching issue. The publisher specifically denied the request and it's likely due to the fact that at first you're hitting the website with http protocol,

Firsltly, http://staging.OURSITE.com/viewall/nutrition/just-eat-half​ fails the first time because the Publisher isn't configured to accept http traffic. I am assuming that staging.oursite.com is the Load Balancer and it should be a https site rather than http. Please test this with https:// protocol

Secondly, the reason https://OURDISPATCHER.adobecqms.net/content/bcbs/ecards/en/viewall/nutrition/just-eat-half .html works is because it's an https:// request, and therefore publisher accepts it.

Lastly, http://staging.OURSITE.com/viewall/nutrition/just-eat-half​ works because this time around because the request didn't have to go to the publisher, and therefore no possibility of a rejection.

In short, please use https:// url with your staging.outsite.com url and your issue should be solved.

Thanks,

Aneet Arora