Audit Log Mixed Content Issue when https enabled on author - AEM 6.1 SP2 | Community
Skip to main content
nvssr90
Level 2
September 27, 2016
Solved

Audit Log Mixed Content Issue when https enabled on author - AEM 6.1 SP2

  • September 27, 2016
  • 4 replies
  • 2517 views

Hi Guys,

How to solve this mixed content issue in AEM 6.1 SP2 (Chrome and Firefox). Looks like it was resolved in AEM 6.0 SP3 (https://docs.adobe.com/docs/en/aem/6-0/release-notes-sp3.html).

Description:

  • Audit log from sidekick triggers mixed content error in the browser console in the HTTPS enabled author instance. CQ-45639

Console Error:

Mixed Content: The page at 'https://------------------------------------------------------/story-csadcdsc.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://-----------------------------------------------------/story-csadcdsc.audit.json'. This request has been blocked; the content must be served over HTTPS.

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 smacdonald2008

Support responded with: 

Details of solution may be extracted from daycare ticket: 89892.

This customer should create a daycare ticket for requesting hotfix for 6.1, if not already done because for new hotfixes the P2E process would need to be followed with support and engineering.

4 replies

smacdonald2008
Level 10
September 27, 2016

I am checking with our support team on this to see if there is a known hotfix. 

Adobe Employee
September 27, 2016

Try overlaying  /libs/cq/ui/widgets/source/widgets/wcm/AuditLogDialog.js to /apps

and modify loadContent function to below

loadContent: function(path) {
        this.setTitle(CQ.I18n.getMessage("AuditLog for") + " " + path)
        //this.store.baseParams.path = path;
        this.store.proxy = new CQ.Ext.data.HttpProxy({ 
               "url": path + ".audit.json",
               "method":"GET"
            })
        this.store.reload();
    },

smacdonald2008
smacdonald2008Accepted solution
Level 10
September 27, 2016

Support responded with: 

Details of solution may be extracted from daycare ticket: 89892.

This customer should create a daycare ticket for requesting hotfix for 6.1, if not already done because for new hotfixes the P2E process would need to be followed with support and engineering.

cqsapientu69896
Level 4
December 14, 2016

Thanks @vmehrotr, this was a lifesaver; specially since it is becoming so difficult to get response back from Adobe team even after raising a ticket. The  the widgets folder at /libs/cq/ui/widgets/source/widgets/wcm/AuditLogDialog.js  is a cq:ClientLibraryFolder ; but the  'widgets' folder I created at /apps/cq/ui/widgets/source/widgets/wcm/AuditLogDialog.js is an nt:folder . Still it works fine.

 

     
cq:ClientLibraryFolder
    
cq:ClientLibraryFolder