Aem sites locked for anonymous users

Avatar

Avatar

demd43642519

Avatar

demd43642519

demd43642519

20-07-2018

Hi guys!

Recently under unknown modification the publisher instance can't be accessed by anonymous users. Only logged user can access the publisher instance.

How do I change that?

I'm using AEM 6.2 and I've already check user admin for anonymous user permissions.

Any suggestions?

Thanks!

-------------------------

I also get this when I start the instance:

20.07.2018 10:44:38.150 *ERROR* [qtp431714949-100] com.day.cq.auth.impl.LoginSelectorHandler requestCredentials: Abort login due to apparent misconfiguration.

20.07.2018 10:44:38.150 *ERROR* [qtp431714949-100] com.day.cq.auth.impl.LoginSelectorHandler requestCredentials: Possible reasons: login page not existing or not accessible

20.07.2018 10:44:38.244 *INFO* [qtp431714949-101] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials

20.07.2018 10:44:38.337 *INFO* [qtp431714949-102] org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials

20.07.2018 10:44:38.337 *ERROR* [qtp431714949-102] com.day.cq.auth.impl.LoginSelectorHandler requestCredentials: Abort login due to apparent misconfiguration.

20.07.2018 10:44:38.337 *ERROR* [qtp431714949-102] com.day.cq.auth.impl.LoginSelectorHandler requestCredentials: Possible reasons: login page not existing or not accessible

Replies

Avatar

Avatar

edubey

Avatar

edubey

edubey

20-07-2018

Can you check this particular config once, It should be checked
1531957_pastedImage_0.png

Avatar

Avatar

demd43642519

Avatar

demd43642519

demd43642519

20-07-2018

Yep, that's checked.1531981_pastedImage_0.png

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

20-07-2018

Sounds like that instance is configured as an author instance. Check to make sure its properly configured for Pub - Run Modes

Avatar

Avatar

demd43642519

Avatar

demd43642519

demd43642519

20-07-2018

Hmm, I don't think so because If it would be an author instance it should redirect me tot the AEM login page.

But when I access any page I get this 403 error.

1532043_pastedImage_1.png

Avatar

Avatar

Kunwar

Employee

Avatar

Kunwar

Employee

Kunwar
Employee

20-07-2018

302 status code would suggest an issue on the apache level or resource mapping configuration. Can you bypass the webserver and directly try hitting the author/publish instance

Avatar

Avatar

demd43642519

Avatar

demd43642519

demd43642519

20-07-2018

Hmm, I don't think I understand.

My experience is not so vast so I don't know what are you talking about by "bypass the webserver and directly try hitting the author/publish instance.

Can you please detail?
Thanks

Avatar

Avatar

Kunwar

Employee

Avatar

Kunwar

Employee

Kunwar
Employee

20-07-2018

Try hitting the instance with direct host port (http://HOST:PORT/<CONTENT_PATH>.html) and see if anonymous users can access the page or not

Avatar

Avatar

demd43642519

Avatar

demd43642519

demd43642519

21-07-2018

No, I can't.  I get that 302 status code.

I'm only allowed to access it after i get login in into crx/de. when i'm logged as an administrator. And I don't understand which may be the cause.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

21-07-2018

Has this been happening since the Server was installed or was fine then started happening.