Skip to main content
nvssr90
Level 2
Sep 27, 2016 4:03 PM UTC
Solved

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

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 27, 2016 5:32 PM UTC

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
Sep 27, 2016 5:08 PM UTC

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

Translate
Adobe Employee
Sep 27, 2016 5:30 PM UTC

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

Translate
smacdonald2008
smacdonald2008Accepted solution
Level 10
Sep 27, 2016 5:32 PM UTC

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.

Translate
cqsapientu69896
Level 4
Dec 14, 2016 6:02 AM UTC

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
Translate