/etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub is giving 301 and not rendering the OOTB script for contexthub in author and publisher | Community
Skip to main content
kamalakannank62
Level 3
January 6, 2020
Solved

/etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub is giving 301 and not rendering the OOTB script for contexthub in author and publisher

  • January 6, 2020
  • 1 reply
  • 4207 views

Hi Experts,

In one of our environments the OOTB /etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub is giving 404. This issue happens both in author and publisher. The AEM version is 6.4.6.

But when I changed the sling:resourceType to "granite/contexthub/cloudsettings/components/baseconfiguration" it started working.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vish.dhaliwal

Hello,

Yes, for "etc/cloudsettings/default/contexthub" the sling:resourceType should be "granite/contexthub/cloudsettings/components/baseconfiguration"

Note: As per the 6.4 repository restructuring there are some manual steps in regards to Context Hub -- https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/repository-restructuring-in-aem64.html

Regards,

Vishu

 

1 reply

vish.dhaliwalAdobe EmployeeAccepted solution
Adobe Employee
January 6, 2020

Hello,

Yes, for "etc/cloudsettings/default/contexthub" the sling:resourceType should be "granite/contexthub/cloudsettings/components/baseconfiguration"

Note: As per the 6.4 repository restructuring there are some manual steps in regards to Context Hub -- https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/repository-restructuring-in-aem64.html

Regards,

Vishu

 

kamalakannank62
Level 3
January 7, 2020

Hello @vish.dhaliwal ,
We have done the restructuring, When we used OOTB config "/libs/settings/cloudsettings/legacy/contexthub" in Pages for loading contexthub specific scripts,
So on load of the page one of the call goes to /etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub, this call is failing in one of the environment.
Mean while the custom config which we have for project specific is rendering properly.