AEM editor is not loading anything and when we restart the instance it shows http 503 error | Community
Skip to main content
June 3, 2022
Solved

AEM editor is not loading anything and when we restart the instance it shows http 503 error

  • June 3, 2022
  • 3 replies
  • 1771 views

AEM editor is not loading anything and when we restart the instance it shows HTTP ERROR 503 Problem accessing /. Reason: AuthenticationSupport service missing. Cannot authenticate request. Even after deleting the quickstart and reopening the instance again it works for 15 to 20 minutes and doesn't work again 

Can someone help how to resolve this issue?

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 SantoshSai

Hi @syamkowshik ,

In addition to @fanindra_surat that's known issue only If you are working with SPA project, do follow the below steps

  • Navigate /apps/spa/osgiconfig/config/org.apache.sling.jcr.repoinit.RepositoryInitializer~spa.cfg.json
  • Delete .cfg.json or replace it's script into a -.config

Otherwise as @debal_das suggested worth visiting these links

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-restart-issue-authenticationsupport-service-missing-cannot/m-p/385769

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/authenticationsupport-service-missing-cannot-authenticate/td-p/171137

Regards,

Santosh

3 replies

Fanindra_Surat
Community Advisor
Community Advisor
June 3, 2022

Hi @syamkowshik - This is a known issue due to the presence of a repoinit config file in the project deployed, resulting in a repository initialization error causing HTTP 503 on AEMs. To fix this, either remove the Repoinit file from the configs if not using or replace it with a org.apache.sling.jcr.repoinit.RepositoryInitializer-.config file from both the project you are deploying and the /crx-quickstart/launchpad/config/org/apache/sling/jcr location in file system.

 

Ref: https://github.com/adobe/aem-project-archetype/issues/852

 

Thanks,

Fani

 

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
June 3, 2022

Hi @syamkowshik ,

In addition to @fanindra_surat that's known issue only If you are working with SPA project, do follow the below steps

  • Navigate /apps/spa/osgiconfig/config/org.apache.sling.jcr.repoinit.RepositoryInitializer~spa.cfg.json
  • Delete .cfg.json or replace it's script into a -.config

Otherwise as @debal_das suggested worth visiting these links

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-restart-issue-authenticationsupport-service-missing-cannot/m-p/385769

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/authenticationsupport-service-missing-cannot-authenticate/td-p/171137

Regards,

Santosh

Santosh Sai
Fanindra_Surat
Community Advisor
Community Advisor
June 4, 2022

@santoshsai - Not necessarily. We encountered similar issues on non-SPA projects as well and fixed them by removing or correcting the file.

SantoshSai
Community Advisor
Community Advisor
June 4, 2022

Good to know. However, I have deployed multiple projects with same but never experienced such in non-SPA

Santosh Sai