Skip to Content

Loading mixed content in Fiori app

Hi,

I am working on one requirement where Fiori app which is running on HTTPS secure connection has to load a document URL with HTTP. Am getting following error.

Mixed Content: The page at 'https://sap/bc/ui5_ui5/ui2/ushell/shells/a…dsdkasjdasj16717181/attachment/238912371289HHHHHHH' was loaded over HTTPS, but requested an insecure resource 'http://assap/archivelink/gwdmdv14?get&pVersi…dasdnasjkdsjsdas'. This request has been blocked; the content must be served over HTTPS.

Please suggest me for any possible workarounds for this issue as I cannot change existing archive server configuration to HTTPS.

FYI,

I am using sap.m.URLHelper to open this document HTTP url within Fiori app.

Regards,

Arun.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 21, 2015 at 09:11 AM

    Hi Arun;

    Are you opening the page in a new window or inside the shell again.

    the url helper example at the following page also opens an HTTP page from HTTPS but no error is occurring there.

    Is your scenario different from one mentioned here?

    SAPUI5 Explored

    Regards,

    Sarbjeet SIngh

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sarbjeet,

      Thanks for your reply. Sorry for the confusion, I have used iFrame to show the document earlier. Now when I changed to sap.m.URLHelper  it is working fine as expected without any issues.

      Regards,

      Arun.