DIspatcher for Author Instance | Community
Skip to main content
tc94524330
New Participant
January 28, 2016
Solved

DIspatcher for Author Instance

  • January 28, 2016
  • 17 replies
  • 5932 views

Hi,

I am trying to install dispatcher in front of author instance. When i try to open a page under content, i am getting prompt by login screen but i am enter the credentials admin admin, it still showing only login screen. 

Below are the couple of lines present in error log

 org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials
 org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials
 org.apache.sling.auth.core.impl.SlingAuthenticator getAnonymousResolver: Anonymous access not allowed by configuration - requesting credentials
 GET /libs/granite/core/content/login.html HTTP/1.1] libs.granite.core.components.login.login$jsp j_reason param value 'unknown' cannot be mapped to a valid reason message: ignoring

 

Please reply to this question if anyone already configured dispatcher infront of author instances and if anyone has any steps to follow  for successful installation, that would be great.

 

Thanks

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 leeasling

Browser cache and incognito mode have will not prevent the dispatcher from caching.  Are you sure you're deleting the dispatcher cache files before trying?

17 replies

tc94524330
New Participant
January 29, 2016

Hi,

Thanks for answering. I tried the change you suggested but it didn't worked out. 

Please let me know if you think of any other configuration change.

 

Thanks

tc94524330
New Participant
January 29, 2016

Hi,

Thanks for replying. Please find the attached dispatcher.any file. If you can please take a look and see if any issues are there in the configuration. 

Kunal_Gaba_
New Participant
January 28, 2016

I guess you need to add new domain of your dispatcher in the externalizer configuration of your author to solve this error- 

http://localhost:4502/system/console/configMgr/com.day.cq.commons.impl.ExternalizerImpl

joerghoh
Employee
January 28, 2016

can you post the dispatcher.any config file?

kind regards,
Jörg

tc94524330
New Participant
January 28, 2016

Hi,

@leeasling, i tried those couple of things you told me to check but still i couldn't login in to the page. I am attaching a screenshot from network tab where you can see i am getting a 200 response for j_security_check. 

Please take a look at it once. After 200 response from j_security_check, page is getting a 302 and then again login page is showing up.

Any help or suggestions would be great.

 

Thanks

Jitendra_S_Toma
New Participant
January 28, 2016

Hi,

It would good, if you could re-check login on the author instance. If login is fine on author instance, then as pointed out by @leeasling, just make sure, all post requests are not blocked at the dispatcher configuration.

Jitendra

New Participant
January 28, 2016

Couple of things to check:

1.  Check that the domain you're using is allowed in the "Apache Sling Referrer Filter" configuration
2.  Make sure your dispatcher.any isn't blocking POST requests to j_security_check (this will be disallowed by default so make sure you add an exception)