cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed Content error while accessing custom UI5 application via Fiori launchpad

Former Member
0 Kudos

Hi All ,

When I am trying to launch my custom UI5 application which performs a read operation to backend system via Chrome browser , I am not able to get the data because the call to meta data service fails :

Mixed Content: The page at 'https://xxx.xxx/fiori?sap-client=100&sap-language=EN&sap-sec_session_created=X#ZDEMOCSEM-display' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://xxxxxxsap/opu/odata/sap/ZDEMO1_SRV/$metadata'. This request has been blocked; the content must be served over HTTPS.

Please suggest what can be done that the call to metadata uses HTTPS instead of HTTP.

The application works fine in IE browser.

Thanks and Regards

Vivek

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi All,

I am having the same issue any help is appreciated/

janani_10
Explorer
0 Kudos

Hi vivekpandey84,

Have you got solution for this issue?

If yes, please provide the solution.

Thanks,

Janani

junwu
Active Contributor
0 Kudos

your code........

Former Member
0 Kudos

onInit: function()

{

var sServiceUrl = "https:/XXXX/sap/opu/odata/sap/ZDEMO1_SRV";

var oModel = new sap.ui.model.odata.ODataModel(sServiceUrl,true);

var oJsonModel = new sap.ui.model.json.JSONModel(); oModel.read("CustomerSet?",null,null,true,function(oData,repsonse){ oJsonModel.setData(oData); }); sap.ui.getCore().setModel(oJsonModel);

},

former_member365727
Active Contributor
0 Kudos

change server side settings to use HTTPS protocol for the FIORI application

Former Member
0 Kudos

Please elaborate.