Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

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

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

4 Replies

Avatar

Level 10

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

Avatar

Employee

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();
    },

Avatar

Correct answer by
Level 10

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.

Avatar

Level 4

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