Skip to Content
0

Can't access SCP portal site on iPhone with Safari

Jul 07, 2017 at 03:09 AM

165

avatar image

We can access our SAP Cloud Platform portal service (Fiori Launchpad) site from Safari on iPad and we can access it from an iPhone using Chrome. However, when we try using Safari on an iPhone we just get a blank screen. Unfortunately I don't have a mac handy to tether to the iPhone and check the console.

The blank screen happens with the portal site set to UI5 version 1.44 (maintenance). If we set it to 1.28 or 1.38 (maintenance) we see the Fiori loading GIF (rotating flower) but the site never loads.

The test device has iOS 10.3.2

Has anyone seen this issue before? Any suggestions?

10 |10000 characters needed characters left characters exceeded

Hello Mike,

I am testing my Portal site (Fiori Launchpad type) with the SAPUI5 version Maintenance (1.44) and am able to open the site on Safari on iPhone 7 (running 10.3.2).

Even with SAPUI5 versions 1.28 and 1.38 I can see the launchpad with the tiles on Safari browser on iOS 10.3.2.

Regards,

Saurabh

capture.png (27.8 kB)
capture2.png (50.9 kB)
0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Frank Schuler
Jul 07, 2017 at 05:27 AM
0

Hello Mike,

Please check the Browser and Platform Support section for the UI Development Toolkit for HTML5 for compatibility of your device and browser.

Best regards

Frank

Show 5 Share
10 |10000 characters needed characters left characters exceeded

Thanks Frank, it does say that Safari on iPhone should be supported for UI5, as long as it is iOS9+. I can't find a PAM for SAP Cloud Platform portal service

0

Hello Mike,

That should be enough due diligence then to raise an OSS ticket with SAP.

Best regards

Frank

0

networktraceiphone.png

We have managed to reproduce the error on a tethered iPhone and so we were able to get the console and the network trace. Again we were able to log in fine on that iPhone using Chrome

[Info] 2017-07-11 14:55:14 Device API logging initialized - DEVICE (core-min-0.js, line 20)

[Info] 2017-07-11 14:55:14.792800 registerResourcePath ('', 'https://sapui5.hana.ondemand.com/1.44.15/resources/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:14.793000 registerResourcePath ('sap/hana/uis/flp', '/cloud/flp/3.36.8/runtime/sap/hana/uis/flp/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:14.793100 registerResourcePath ('sap/ushell/cpv2/services', '/cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:14.793199 URL prefixes set to: - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:14.793300 (default) : https://sapui5.hana.ondemand.com/1.44.15/resources/ - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:14.793399 'sap/hana/uis/flp' : /cloud/flp/3.36.8/runtime/sap/hana/uis/flp/ - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:14.793500 'sap/ushell/cpv2/services' : /cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/ - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.120500 registerResourcePath ('sap/ushell/adapters/fiori', '/cloud/flp/3.36.8/runtime/sap/ushell/adapters/fiori/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.121000 registerResourcePath ('sap/ui2/srvc', '/cloud/flp/3.36.8/runtime/sap/ui2/srvc/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.121399 registerResourcePath ('sap/ushell/base', '/cloud/flp/3.36.8/runtime/sap/ushell/base/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.121600 registerResourcePath ('sap/ushell/cloudAdapters/fiori', '/cloud/flp/3.36.8/runtime/sap/ushell/cloudAdapters/fiori/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.122899 registerResourcePath ('sap/ushell/cloudServices', '/cloud/flp/3.36.8/runtime/sap/ushell/cloudServices/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.126300 registerResourcePath ('sap/ushell/services/designer/editor_components', '/cloud/flp/3.36.8/designer-editor-components/sap/ushell/services/designer/editor_components/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.126699 registerResourcePath ('sap/designer/appconfig_common', '/cloud/flp/3.36.8/appconfig-common/sap/designer/appconfig_common/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.127000 registerResourcePath ('sap/designer/appconfig_common_relationaldb', '/cloud/flp/3.36.8/appconfig-common-relational-db/sap/designer/appconfig_common_relationaldb/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.127300 registerResourcePath ('common/widget', '/cloud/flp/3.36.8/designer-editor-components/sap/ushell/services/designer/editor_components/commonwidget/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.127500 registerResourcePath ('common.widget', '/cloud/flp/3.36.8/designer-editor-components/sap/ushell/services/designer/editor_components/commonwidget/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.127699 registerResourcePath ('sap.ushell.designer.apps.contentRepository', '/cloud/flp/3.36.8/sap.ushell.designer.apps.contentRepository/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.128000 registerResourcePath ('sap/ushell/designer/apps/contentRepository', '/cloud/flp/3.36.8/sap.ushell.designer.apps.contentRepository/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.128300 registerResourcePath ('sap/ushell/site_directory', '/cloud/flp/3.36.8/site-directory/sap/ushell/site_directory/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.128600 registerResourcePath ('sap/hana/uis/flp/control', '/cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/control/widget/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.128800 registerResourcePath ('sap/hana/uis/flp/contentUnit', '/cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/control/contentUnit/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.129000 registerResourcePath ('sap/ushell/services/cp/designtime', '/cloud/flp/3.36.8/cpDesignInfra/sap/ushell/services/cp/designtime/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.129300 registerResourcePath ('sap/ushell/renderers/cp', '/cloud/flp/3.36.8/cpDesignInfra/sap/ushell/renderers/cp/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.802000 registerResourcePath ('sap/fiori/themes/sap_belize', 'https://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/../../sap/fiori/themes/sap_belize/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.810000 registerResourcePath ('sap/ui/core/themes/sap_belize', 'https://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/../../sap/ui/core/themes/sap_belize/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.939800 registerResourcePath ('sap/m/themes/sap_belize', 'https://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/../../sap/m/themes/sap_belize/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Info] 2017-07-11 14:55:15.958100 registerResourcePath ('cp/client/maintenance', '/sap/hana/uis/maintenance/') - sap.ui.ModuleSystem (core-min-0.js, line 92)

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (Messages_en_AU.properties, line 0)

[Error] QuotaExceededError (DOM Exception 22): The quota has been exceeded.

setItem

resetLastServerPing (Anonymous Script 1 (line 65:1319))

handleResponse (Anonymous Script 1 (line 461:818))

handleEvent (Anonymous Script 1 (line 469:3982))

h (Anonymous Script 1 (line 469:4312))

send

send (core-min-1.js:26:1455)

send (Anonymous Script 1 (line 469:6870))

send (core-min-0.js:75:81759)

ajax (core-min-0.js:75:76946)

loadResource (core-min-0.js:92:37058)

properties (core-min-1.js:20:1893)

t (core-min-1.js:21:3745)

h (core-min-1.js:21:3202)

B (core-min-1.js:21:2039)

resources (core-min-1.js:21:4050)

loadResourceBundle (core-min-3.js:117:884)

_ (core-min-3.js:117:2050)

constructor (core-min-3.js:117:618)

o (core-min-2.js:70:2216)

done (Anonymous Script 1 (line 310:293))

done

p (core-min-0.js:75:25158)

add (core-min-0.js:75:25513)

load (Anonymous Script 1 (line 310:228))

bootstrap (core-min-1.js:65:8554)

main (uis_fiori.js:2:40929)

Eval Code (Anonymous Script 2 (line 1))

eval

globalEval (core-min-0.js:93)

_executeOnInit (core-min-2.js:89:14610)

init (core-min-2.js:89:13847)

(anonymous function) (core-min-2.js:89:3158)

l (core-min-0.js:92:21533)

finishTask (core-min-0.js:92:21510)

(anonymous function) (core-min-2.js:89:3448)

l (core-min-0.js:92:21533)

finishTask (core-min-0.js:92:21510)

(anonymous function) (core-min-2.js:89:4086)

bootstrap (uis_fiori.js:2:17716)

bootstrap (sites:705)

bootstrap

(anonymous function) (sites:568:82)

execute (uis_fiori.js:2:318)

done (uis_fiori.js:2:507)

successCallback (sites:567)

successCallback

(anonymous function) (sites:484)

onReadyStateChange (sites:404)

[Error] QuotaExceededError (DOM Exception 22): The quota has been exceeded.

setItem

resetLastServerPing (Anonymous Script 1 (line 65:1319))

registerEvents (Anonymous Script 1 (line 65:552))

load (Anonymous Script 1 (line 310:2702))

bootstrap (core-min-1.js:65:8554)

main (uis_fiori.js:2:40929)

Eval Code (Anonymous Script 2 (line 1))

eval

globalEval (core-min-0.js:93)

_executeOnInit (core-min-2.js:89:14610)

init (core-min-2.js:89:13847)

(anonymous function) (core-min-2.js:89:3158)

l (core-min-0.js:92:21533)

finishTask (core-min-0.js:92:21510)

(anonymous function) (core-min-2.js:89:3448)

l (core-min-0.js:92:21533)

finishTask (core-min-0.js:92:21510)

(anonymous function) (core-min-2.js:89:4086)

bootstrap (uis_fiori.js:2:17716)

bootstrap (sites:705)

bootstrap

(anonymous function) (sites:568:82)

execute (uis_fiori.js:2:318)

done (uis_fiori.js:2:507)

successCallback (sites:567)

successCallback

(anonymous function) (sites:484)

onReadyStateChange (sites:404)

[Error] TypeError: null is not an object (evaluating 'sap.ushell.Container.getService')

(anonymous function) (Anonymous Script 1 (line 310:566))

(anonymous function)

0

I don't think that the message bundle 404 is significant. This happens all the time as the browser searches for a bundle from most- to least-specific. You can see from the network trace that immediately after failing to find Messages_en_AU.properties it successfully downloads Messages_en.properties. Of more significance I think is the QuotaExceededError. This looks like Safari refusing to allow the site to save to local storage. Then perhaps the Fiori Launchpad (FLP) page isn't handling this exception well? Shouldn't the FLP still be able to load even if it can't write to local storage?

Note that we don't have any launchpad plugins and so we aren't loading any of our custom code at this point.

To confirm this I disabled local storage in Firefox (seehttps://mid.as/kb/article/00103) and went to our dev FLP site. I got a blank page, exactly as we saw on the iPhone. The console from Firefox is shown below. Is the problem something to do with the Session timeout handling? When I turn off the Session Timeout Message in the Fiori Configuration cockpit and then reload in Firefox (still with local storage disabled) then page does load, including our custom theme, but there are no tiles and I get the following error in a popup: Could not open app. Please try again later.

0

failed to read debug mode from local storage DLPad:313:29 2017-07-13 11:07:17 Device API logging initialized - DEVICE core-min-0.js:20:1126 2017-07-13 11:07:17.469024 registerResourcePath ('', 'https://sapui5.hana.ondemand.com/1.44.15/resources/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:17.469725 registerResourcePath ('sap/hana/uis/flp', '/cloud/flp/3.36.8/runtime/sap/hana/uis/flp/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:17.470100 registerResourcePath ('sap/ushell/cpv2/services', '/cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:17.470629 URL prefixes set to: - sap.ui.ModuleSystem core-min-0.js:92:10344 "2017-07-13 11:07:17.470949 (default) :https://sapui5.hana.ondemand.com/1.44.15/resources/- sap.ui.ModuleSystem" core-min-0.js:92:10344 2017-07-13 11:07:17.471705 'sap/hana/uis/flp' : /cloud/flp/3.36.8/runtime/sap/hana/uis/flp/ - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:17.472080 'sap/ushell/cpv2/services' : /cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/ - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.348024 registerResourcePath ('sap/ushell/adapters/fiori', '/cloud/flp/3.36.8/runtime/sap/ushell/adapters/fiori/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.348794 registerResourcePath ('sap/ui2/srvc', '/cloud/flp/3.36.8/runtime/sap/ui2/srvc/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.349344 registerResourcePath ('sap/ushell/base', '/cloud/flp/3.36.8/runtime/sap/ushell/base/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.349719 registerResourcePath ('sap/ushell/cloudAdapters/fiori', '/cloud/flp/3.36.8/runtime/sap/ushell/cloudAdapters/fiori/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.350294 registerResourcePath ('sap/ushell/cloudServices', '/cloud/flp/3.36.8/runtime/sap/ushell/cloudServices/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.546409 registerResourcePath ('sap/ushell/services/designer/editor_components', '/cloud/flp/3.36.8/designer-editor-components/sap/ushell/services/designer/editor_components/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.547020 registerResourcePath ('sap/designer/appconfig_common', '/cloud/flp/3.36.8/appconfig-common/sap/designer/appconfig_common/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.547370 registerResourcePath ('sap/designer/appconfig_common_relationaldb', '/cloud/flp/3.36.8/appconfig-common-relational-db/sap/designer/appconfig_common_relationaldb/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.547625 registerResourcePath ('common/widget', '/cloud/flp/3.36.8/designer-editor-components/sap/ushell/services/designer/editor_components/commonwidget/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.548215 registerResourcePath ('common.widget', '/cloud/flp/3.36.8/designer-editor-components/sap/ushell/services/designer/editor_components/commonwidget/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.548564 registerResourcePath ('sap.ushell.designer.apps.contentRepository', '/cloud/flp/3.36.8/sap.ushell.designer.apps.contentRepository/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.549104 registerResourcePath ('sap/ushell/designer/apps/contentRepository', '/cloud/flp/3.36.8/sap.ushell.designer.apps.contentRepository/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.549354 registerResourcePath ('sap/ushell/site_directory', '/cloud/flp/3.36.8/site-directory/sap/ushell/site_directory/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.549715 registerResourcePath ('sap/hana/uis/flp/control', '/cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/control/widget/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.550004 registerResourcePath ('sap/hana/uis/flp/contentUnit', '/cloud/flp/3.36.8/cpv2-services/sap/ushell/cpv2/services/control/contentUnit/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.550284 registerResourcePath ('sap/ushell/services/cp/designtime', '/cloud/flp/3.36.8/cpDesignInfra/sap/ushell/services/cp/designtime/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.550489 registerResourcePath ('sap/ushell/renderers/cp', '/cloud/flp/3.36.8/cpDesignInfra/sap/ushell/renderers/cp/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.570340 registerResourcePath ('sap/fiori/themes/brs17032017', '/api/theming/UI5/sap/fiori/themes/brs17032017/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:23.804314 registerResourcePath ('sap/ui/core/themes/brs17032017', '/api/theming/UI5/sap/ui/core/themes/brs17032017/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:24.067185 registerResourcePath ('sap/m/themes/brs17032017', '/api/theming/UI5/sap/m/themes/brs17032017/') - sap.ui.ModuleSystem core-min-0.js:92:10344 2017-07-13 11:07:24.145310 registerResourcePath ('cp/client/maintenance', '/sap/hana/uis/maintenance/') - sap.ui.ModuleSystem core-min-0.js:92:10344 XML Parsing Error: not well-formed Location:https://sapui5.hana.ondemand.com/1.44.15/discovery/all_libs?ts=201707041459 Line Number 1, Column 1: all_libs:1:1 TypeError: localStorage is null[Learn More] core-min-0.js%20line%2092%20%3E%20eval:1:1242 resetLastServerPinghttps://flpnwc-c910ee3ff.dispatcher.ap1.hana.ondemand.com/cloud/flp/3.36.8/runtime/sap/hana/uis/flp/SessionTimeoutHandler.js:1:1242 registerEventshttps://flpnwc-c910ee3ff.dispatcher.ap1.hana.ondemand.com/cloud/flp/3.36.8/runtime/sap/hana/uis/flp/SessionTimeoutHandler.js:1:471 loadhttps://flpnwc-c910ee3ff.dispatcher.ap1.hana.ondemand.com/cloud/flp/3.36.8/runtime/sap/ushell/cloudAdapters/fiori/ContainerAdapter.js:1:2875 sap.ushell.bootstraphttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/ushell/services/Container.js:2:8500 mainhttps://flpnwc-c910ee3ff.dispatcher.ap1.hana.ondemand.com/cloud/flp/3.36.8/runtime/sap/hana/uis/flp/bootstrap/uis_fiori.js:2:40908 <anonymous>https://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js%20line%2093%20%3E%20eval:1:1 jQuery.sap.globalEvalhttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:93:47 x.prototype._executeOnInithttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/ui/core/Core.js:6:14571 x.prototype.inithttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/ui/core/Core.js:6:13805 constructor/o<https://sapui5.hana.ondemand.com/1.44.15/resources/sap/ui/core/Core.js:6:3129 lhttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:92:21531 S/this.finishTaskhttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:92:21508 constructor/<https://sapui5.hana.ondemand.com/1.44.15/resources/sap/ui/core/Core.js:6:3257 phttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:75:25147 fireWithhttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:75:26003 readyhttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:75:27921 Vhttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:75:28107 TypeError: sap.ushell.Container is null[Learn More] core-min-0.js%20line%2092%20%3E%20eval:1:770 done/</<https://flpnwc-c910ee3ff.dispatcher.ap1.hana.ondemand.com/cloud/flp/3.36.8/runtime/sap/ushell/cloudAdapters/fiori/ContainerAdapter.js:1:770 bound self-hosted:911:17 Whttps://sapui5.hana.ondemand.com/1.44.15/resources/sap/fiori/core-min-0.js:92:2707

0