Workflow Email Notification pointing to wrong url

Avatar

Avatar

anuj_pathak1

Avatar

anuj_pathak1

anuj_pathak1

26-09-2018

We recently migrated to AEM 6.4 and noticed all OOB workflow Email notification body content which also has URL mentioned pointing to local-host URL on all environments (dev,stage, prod)

This was working on prior AEM version we were on (6.1) and We do have OSGI Link Externalizer Config properly setup for all run modes on 6.4

1580148_pastedImage_2.png

Apart from externalizer, We do have   Day CQ Workflow Email Notification Service (com.day.cq.workflow.impl.email.EMailNotificationService) configured with correct values for Dev/stage/prod but its also not helping.

Can anyone tell if its a product bug or required additional configuration ?

View Entire Topic

Avatar

Avatar

anuj_pathak1

Avatar

anuj_pathak1

anuj_pathak1

26-09-2018

Another thing i just tried was adding explicit value for host.prefix property (value =author url of dev instance) in Link Externalizer OSGI config and I can see now localhost is replaced with DEV author URL in email notification but It is adding extra http to Dev https url

the URL now i get in email is like this  http://https//aem-author-dev.xxxxxxxx/xxxxx

The reason why i did not have this value set up was because it says it is Deprecated Property.

Does not looks like upgrade issue.

Edit 1: its externalizer.host property value not host.prefix that I updated under Link Externalizer OSGI config

smacdonald2008

Edit 2: If i remove web protocol and just add server address in externalizer.host , it worked but it has http instead of https in email notification content body. So instead of having https://author.xyz.com in externalizer.host property value , If I just add author.xyz.com, its working

My question are

1. why do we need to populate externalizer.host in Link Externalizer which is deprecated

2. why its adding http instead of https which is not acceptable for us on upper environments