Dispatcher is caching incorrect files with -wrong appended to it | Community
Skip to main content
New Participant
Feb 7, 2023 5:19 PM UTC
Solved

Dispatcher is caching incorrect files with -wrong appended to it

Hi,

 

We recently started running into an issue where everyday the dispatcher would cache some file with -wrong appended it it, ex. home-wrong.html and home-wrong2.html. This ends up being served on the site. 

 

Has anyone run into such issues. We have not had any code or dispatcher changes deployed and suddenly started running into this issue.

 

Thanks,

Har**bleep**

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
indranilmAccepted solution
Level 2
Feb 8, 2023 3:08 AM UTC

Enable Debug logs in Dispatcher to get more information on caching of wrong files, that might provide some information.

https://blogs.perficient.com/2017/10/12/mastering-aem-dispatcher-part-1-debugging-the-dispatcher/ 

6 replies

hhk_hsbAuthor
New Participant
Feb 10, 2023 8:30 PM UTC

Turns out there was http hijacking attack on our server and the support engineer had renamed the corrupted files for investigation.

Translate
Umesh_Thakur
New Participant
Feb 8, 2023 8:37 AM UTC

can you verify any changes might have done at the Resource Resolver Factory in configMgr or mapping level or for vanity URL  of your publishers?

if more than one publisher, then verify whether it is happening for all the publisher or not?

Hope this helps..!

Umesh Thakur

Translate
arunpatidar
New Participant
Feb 8, 2023 8:23 AM UTC

Hi,

Please check the request logs?

It seems there are sling mapping which are resolving the actual resource even with -wrong2 postfix.

Translate
Arun Patidar
indranilmAccepted solution
Level 2
Feb 8, 2023 3:08 AM UTC

Enable Debug logs in Dispatcher to get more information on caching of wrong files, that might provide some information.

https://blogs.perficient.com/2017/10/12/mastering-aem-dispatcher-part-1-debugging-the-dispatcher/ 

Translate
hhk_hsbAuthor
New Participant
Feb 7, 2023 5:51 PM UTC

Hi Shashi,

 

So we have code deployed, but we did not deploy any new changes. I tried looking at publisher logs but do not see any issue there as well.

Translate
Shashi_Mulugu
New Participant
Feb 7, 2023 5:27 PM UTC

@hhk_hsb seems like some issue with publisher maybe as you are confirming no code deployed to dispatchers.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Have you touched any of your link rewriters, sling:alias, sling:redirects etc..?

Translate