Custom Error handler is not working on Publish envirnoment | Community
Skip to main content
Level 2
April 20, 2022

Custom Error handler is not working on Publish envirnoment

  • April 20, 2022
  • 2 replies
  • 1067 views

Hi all,


When I tried to use ACS commons error handler for custom error pages, in author it is correctly routing to the error page we configured. Whereas in publisher it is showing the default error page.
I've verified all the configurations, but no idea what is the issue. Please help me out.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SantoshSai
Community Advisor
Community Advisor
April 20, 2022

Dear @sai_gayatri_vadlamani 

 

Kindly consider:

1. Check if the issue is from publish server or dispatcher. If issue is from dispatcher then ensure that you have done required AEM dispatcher configuration

 In dispatcher_vhost.conf file, set DispatcherPassError to ‘0’. This allows erring requests to be sent back to AEM.

#Error Page Handler
DispatcherPassError 0

2. check your AEM version, as on AEM 6.2 or above, this service uses a Service User for repository access. This user is configured with the expected permissions required, but additional permissions may be required if your repository design deviates from the expected structure. So please check if this user have proper permission on publish instance as well.

User name: acs-commons-error-page-handler-service

ACLs:

  • jcr:read on /content

Reference for more details: https://adobe-consulting-services.github.io/acs-aem-commons/features/error-handler/index.html

 

Regards,

Santosh

 

Santosh Sai
Level 2
April 20, 2022

Yes, as told earlier I've verified all the configurations checked ACL, and Dispatcher Pass Error is set to 0 on dispatcher and publisher too. Don't know what is the issue exactly.

Anish-Sinha
Adobe Employee
Adobe Employee
April 20, 2022

Hi @sai_gayatri_vadlamani ,

Is it working when you are using the publish IP and not the dispatcher?

Level 2
April 21, 2022

No, even with the publisher's IP it is not working.