Symptom
- We have used Kapsel OData Plug-In for offline part of the application and it's working fine with HTTP connection.
When we switch to HTTPS connection App registration to SMP and fetching data via SMP is working fine
but offline store is not getting open and it's giving 503 Error.
Unknown network error occurred[-10204] Communication with the server failed with status code: 503. - The client log shows this:
07-07 00:07:05.102: D/ViewRootImpl(2603): ViewPostImeInputStage ACTION_DOWN
07-07 00:07:05.312: D/SMP_LOGON(2603): getLogonCertificate invoked.
07-07 00:07:05.312: D/SMP_LOGON(2603): Returning a certificate from Afaria.
07-07 00:07:05.312: D/SMP_LOGON(2603): LogonManagerKeyManager initialized with appID: com.mindtree.ppm.ngp.offline
07-07 00:07:05.322: D/SMP_LOGON(2603): LogonManagerKeyManager certInfo: null
07-07 00:07:05.322: E/SMP_LOGON(2603): Certificate info of certificate retrieved from Logon Manager is null
07-07 00:07:05.332: E/SMP_AUTH_PROXY(2603): Getting certificate from Logon Manager failed due to InvocationTargetException: null
07-07 00:07:05.332: E/File(2603): fail readDirectory() errno=2
07-07 00:07:06.322: I/System.out(2603): (HTTPLog)-Static: isSBSettingEnabled false
07-07 00:07:06.332: I/System.out(2603): KnoxVpnUidStorageknoxVpnSupported API value returned is false
07-07 00:07:07.092: W/SMP_LOGON(2603): JSONException while getting SAML configuration (probably there is no stored SAML configuration): No value for auth
07-07 00:07:07.092: D/SMP_AUTH_PROXY(2603): AuthProxySAML2ConfigProvider could not retrieve SAML settings from the Logon plugin.
07-07 00:07:07.862: I/System.out(2603): (HTTPLog)-Static: isSBSettingEnabled false
07-07 00:07:08.202: W/SMP_LOGON(2603): JSONException while getting SAML configuration (probably there is no stored SAML configuration): No value for auth
07-07 00:07:08.202: D/SMP_AUTH_PROXY(2603): AuthProxySAML2ConfigProvider could not retrieve SAML settings from the Logon plugin.
07-07 00:07:08.972: E/SMP_ODATA(2603): Failed to open store
07-07 00:07:08.972: E/SMP_ODATA(2603): com.sap.smp.client.odata.offline.common.OfflineStoreException: [-10204] Communication with the server failed with status code: 503
07-07 00:07:08.972: E/SMP_ODATA(2603): at com.sap.smp.client.odata.offline.common.OfflineStore.openStoreWithListener(OfflineStore.java:683)
07-07 00:07:08.972: E/SMP_ODATA(2603): at com.sap.mp.cordova.plugins.odata.OData$3.run(OData.java:266)
07-07 00:07:08.972: E/SMP_ODATA(2603): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
07-07 00:07:08.972: E/SMP_ODATA(2603): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
07-07 00:07:08.972: E/SMP_ODATA(2603): at java.lang.Thread.run(Thread.java:818)
Read more...
Environment
- SMP server version is 3.0.11.05
- SMP SDK 3.0 SP14 PL3
- Node.js v6.9.5
- Apache Cordova v6.5.0
- Android Kapsel Plug-In
Product
SAP Mobile Platform SDK 3.0
Keywords
Kapsel SMP LB , KBA , MOB-SDK-OOD , SAP Mobile SDK Offline OData Client , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.