Expand my Community achievements bar.

SOLVED

Why does aem not adding x-aem-client-country headers in publisher env?

Avatar

Level 1

I'm trying to retrieve data from x-aem-client-country and x-aem-client-continent headers. Although aem adds this header on author, it doesn't do that on publisher and I have the following headers:

On autor:

sec-fetch-site:none
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/ (KHTML, like Gecko) Chrome/ Safari/
x-rid:
Accept-Encoding:gzip
_xc:0
sec-fetch-user:?1
fastly-client:1
x-envoy-external-address:...
sec-ch-ua-mobile:?0
upgrade-insecure-requests:1
x-skyint-env-tier:author
Content-Length:0
fastly-ssl:1
x-skyint-release:...
sec-fetch-mode:navigate
Cookie:...
cdn-loop:Fastly, Fastly
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
fastly-orig-accept-encoding:gzip, deflate, br
x-aem-client-country:US
x-edge-key:...
x-aem-client-continent:NA
X-Forwarded-Host:author....adobeaemcloud.com
X-Forwarded-Proto:https
Host:author-.....adobeaemcloud.com
x-varnish:...
x-skyint-cluster:...
sec-ch-ua:" Not;A Brand";v="99", "Google Chrome";v="91", "Chromium";v="91"
fastly-client-ip:134.209.252.181
X-Forwarded-For:...
x-timer:S1625227935.616692,VS0,VS0
fastly-ff:...
Accept-Language:en-US,en;q=0.9
X-Forwarded-Server:author-...-....adobeaemcloud.com
sec-fetch-dest:document
x-skyint-namespace:....

 on publisher:

Cookie:...
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Server-Agent:Communique-Dispatcher
X-Forwarded-Proto:https
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36
X-Forwarded-For:...
Host:publish-....adobeaemcloud.com
Accept-Encoding:gzip
Accept-Language:en-US,en;q=0.9
Content-Length:0
Via:1.1 publish-....adobeaemcloud.com (dispatcher)

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

As per documentation given in https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/content-delive...

 

The AEM managed CDN adds headers to each request with:

     country code: x-aem-client-country
     continent code: x-aem-client-continent

 

Is your publish instance cdn is managed by AEM cloud manager ? 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

 

As per documentation given in https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/content-delive...

 

The AEM managed CDN adds headers to each request with:

     country code: x-aem-client-country
     continent code: x-aem-client-continent

 

Is your publish instance cdn is managed by AEM cloud manager ?