AEM 6.5 - AuthenticationSupport service missing. Cannot authenticate request

Viewed 6460

im always getting this error in my local environment up.

HTTP ERROR 503 AuthenticationSupport service missing. Cannot authenticate the request.
URI:    /
STATUS: 503
MESSAGE:    AuthenticationSupport service missing. Cannot authenticate the request.
SERVLET:    org.apache.felix.http.base.internal.dispatch.DispatcherServlet-7eebf294

there is a suggestion to remove index files in crx-start/repository folder but it didn't work out for me. not able to access the login page even

2 Answers

In my case, I was able to fix this issue by removing the following folder before starting the instance:

rm -rf crx-quickstart/launchpad/config/org/apache/sling/jcr/repoinit

Yeah, most likely the instance is corrupted. You can try using the oak-run tool to compact the repository and identify the last good segment: https://jackrabbit.apache.org/oak/docs/command_line.html

If this is a development environment, it would be quicker to start from scratch.

Related