infinity.json in publish instance | Community
Skip to main content
Rohit-Negi
Level 3
Sep 13, 2021 7:00 AM UTC
Solved

infinity.json in publish instance

Hi All,

 

We are facing an issue on publish instance where when trying to open any page as infinity.json do not given any result on page though it gives a 200 OK status.

When opening the same page with a numeric.json it gives a result.

Example: /libs/cq/security/content/admin.infinity.json---> Doesn't show anything on browser but returns 200 OK 

But, /libs/cq/security/content/admin.4.json provides some results on browser.

 

Is it configurable somewhere to block the infinity selector? We are opening it through IP address so Dispatcher is not in the picture.

 

 

Thanks,

Rohit

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ritesh_Mittal
Ritesh_MittalAccepted solution
New Participant
Sep 13, 2021 10:07 AM UTC

Hi @rohit-negi ,

 

Have you tried different browsers? Also, do you see any response data in the network tab where you see the 200 response code? I believe you must have tried restarting the sever. One more thing, just try to uninstall your project specific modules and see if it works, also check the error log when you access the infinity.json, any error if you find.

7 replies

Ritesh_Mittal
Ritesh_MittalAccepted solution
New Participant
Sep 13, 2021 10:07 AM UTC

Hi @rohit-negi ,

 

Have you tried different browsers? Also, do you see any response data in the network tab where you see the 200 response code? I believe you must have tried restarting the sever. One more thing, just try to uninstall your project specific modules and see if it works, also check the error log when you access the infinity.json, any error if you find.

Translate
Rohit-Negi
Level 3
Sep 13, 2021 10:24 AM UTC

Hi @ritesh_mittal ,

 

Yes, Tried different browser. Response data is blank. Yes have restarted server as well. There is no entry in error.log as getting Status OK . Haven't tried after uninstalling my project module. Will try the same.

 

Thanks!

Translate
Asutosh_Jena_
New Participant
Sep 13, 2021 7:54 AM UTC

Hi @rohit-negi 

 

I can see it's working as expected.

Infinity is a special selector handle by defaultSlingServlet. If you want to access any of the page's content using the infinity.json please use the below syntax.

 

http://localhost:4502/content/we-retail/us/en/jcr:content.infinity.json

This will access the JCR content node which holds the page data.

 

Thanks!

Translate
Rohit-Negi
Level 3
Sep 13, 2021 10:15 AM UTC

Hi @asutosh_jena_ ,

 

http://localhost:4503/libs/cq/security/content/admin.infinity.json is working fine on my vanilla instance but is not working on the instance in which we are facing the issue, So I am sure it is not the expected behavior that we are facing.

 

Thanks!

Translate
Asutosh_Jena_
New Participant
Sep 13, 2021 10:18 AM UTC

Have you logged in as admin user?

Translate