cancel
Showing results for 
Search instead for 
Did you mean: 

Loading mixed content in Fiori app

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Answers (0)