Expand my Community achievements bar.

SOLVED

Getting 503 for queryBuilder.json

Avatar

Level 1

Hi All,

I am getting below message for /bin/querybuilder.json:

chitranshs92047_0-1669112817557.png

Do somebody know what the exact cause for this issue can be. And is it somehow also related to "AuthenticationSupport Service missing" error. Since also getting below:

 

04.11.2022 14:49:21.028 | ERROR | 192.168.151.3 [1667573361028] GET /libs/granite/csrf/token.json HTTP/1.1 | org.apache.sling.engine.impl.SlingRequestProcessorImpl | ServletResolver service missing, cannot service requests , sending status 503
04.11.2022 14:49:21.198 | ERROR | 127.0.0.1 [1667573361197] GET /bin/querybuilder.json HTTP/1.1 | org.apache.sling.engine.impl.SlingRequestProcessorImpl | ServletResolver service missing, cannot service requests , sending status 503
04.11.2022 14:49:21.810 | ERROR | 127.0.0.1 [1667573361810] GET /bin/querybuilder.json HTTP/1.1 | org.apache.sling.engine.impl.SlingRequestProcessorImpl | ServletResolver service missing, cannot service requests , sending status 503
04.11.2022 14:49:22.443 | ERROR | 127.0.0.1 [1667573362443] GET /bin/querybuilder.json HTTP/1.1 | org.apache.sling.engine.impl.SlingRequestProcessorImpl | ServletResolver service missing, cannot service requests , sending status 503
04.11.2022 14:49:23.093 | ERROR | qtp955493576-20933 | org.apache.sling.engine.impl.SlingHttpContext | handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
04.11.2022 14:49:23.093 | ERROR | qtp955493576-20933 | org.apache.sling.engine.impl.SlingHttpContext | handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.
04.11.2022 14:49:23.719 | ERROR | qtp955493576-20942 | org.apache.sling.engine.impl.SlingHttpContext | handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.
04.11.2022 14:49:23.719 | ERROR | qtp955493576-20942 | org.apache.sling.engine.impl.SlingHttpContext | handleSecurity: Possible reason is missing Repository service. Check AuthenticationSupport dependencies.

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi

         There are multiple reasons for instance to give 503 Authentication missing error, however pretty common reason is abnormal shutdown of server and the suggested fix is to cleanup the indexes(/crx-quickstart/repository/index) and restart.

This issue has been discussed here already, please have a look at this link:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-an-authentications... 

 

Hope this will help you .

Thanks

 

 

 

View solution in original post

3 Replies

Avatar

Community Advisor

What version of AEM are you using? Which instance is displaying the above ERROR message?

Avatar

Employee Advisor

@chitranshs92047 

It appears, the loggedin user who is trying to access querybuilder, do not have required permissions. If you are exposing this servlet to a 3rd party application for fetching query results. This might not be the best solution as there are better provisions available.

 

 

Avatar

Correct answer by
Community Advisor

Hi

         There are multiple reasons for instance to give 503 Authentication missing error, however pretty common reason is abnormal shutdown of server and the suggested fix is to cleanup the indexes(/crx-quickstart/repository/index) and restart.

This issue has been discussed here already, please have a look at this link:
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/getting-an-authentications... 

 

Hope this will help you .

Thanks