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
BedrockMission!

Learn More

View all

Sign in to view all badges

/etc/cloudsettings/default/contexthub.kernel.js is not loadingin AEM 6.4

Avatar

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

105 likes

Total Posts

118 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

105 likes

Total Posts

118 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Albin_Issac
MVP

01-02-2019

Hi All

The URL /etc/cloudsettings/default/contexthub.kernel.js is stopped working in both author and publisher post upgrade from 6.2 to 6.4 version.

As per the following document this URL should be working in 6.4 - https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/ch-diagnostics.html

It looks to be the same URL is even not working in new AEM 6.4 Author/Publisher instance.

Please provide your expert advise here.

Regards

Albin I

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

01-02-2019

Try -

Change sling:resourceType from  /libs/granite/contexthub/cloudsettings/components/baseconfiguration

to  granite/contexthub/cloudsettings/components/baseconfiguration on the contexthub configuration (/etc/cloudsettings/...)

source: Re: Contexthub.kernel.js 404 on publish 6.4

Answers (4)

Answers (4)

Avatar

Avatar
Give Back
Level 1
agankitgupta11
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile

Avatar
Give Back
Level 1
agankitgupta11
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
Boost 1
View profile
agankitgupta11
Level 1

21-01-2020

I have not upgraded my AEM from 6.2 to 6.4 but I was facing the same issue that contexthub.kernel.js was giving 404. I found one more solution:

As it is suggested contexthub path is to be configured in root page properties as '/libs/settings/cloudsettings/legacy/contexthub'

 

and when we go to this path, this node has 'sling:resourceType' as '/libs/granite/contexthub/cloudsettings/components/baseconfiguration',

so I copied this node to '/apps/settings/cloudsettings/legacy/contexthub' and changed its 'sling:resourceType' to 'granite/contexthub/cloudsettings/components/baseconfiguration'

 

and configured '/apps/settings/cloudsettings/legacy/contexthub' in root page properties. Now it's working fine for me. Thanks.

Avatar

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

105 likes

Total Posts

118 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

105 likes

Total Posts

118 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Albin_Issac
MVP

01-02-2019

Thanks, the URL /etc/cloudsettings/default/contexthub.kernel.js started working after this change.

Changed the property in /etc/cloudsettings/default/contexthub

Anyhow http://localhost:4502/etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub URL is still not working(we are fine for now as the above URL is working)

Avatar

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

105 likes

Total Posts

118 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 1
MVP
Albin_Issac
MVP

Likes

105 likes

Total Posts

118 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Albin_Issac
MVP

01-02-2019

http://localhost:4502/etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/conte xthub, this URL is working in fresh 6.4 install but unfortunately it is not working in upgraded environment(6.2 to 6.4)

Receiving the following exception in the log

01.02.2019 21:05:44.636 *ERROR* [10.153.113.29 [1549055144628] GET /etc/cloudsettings/default/contexthub.kernel.js HTTP/1.1] org.apache.sling.servlets.resolver.internal.SlingServletResolver Original error null

Regards

Albin I

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

01-02-2019

Do you see the contexthub path configured in root page properties?

/libs/settings/cloudsettings/legacy/contexthub

Contexthub js url -

http://localhost:4502/etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub