Skip to Content
0

Communication error when connecting offline store

Oct 17, 2016 at 12:42 AM

75

avatar image
Former Member

Hi,

I am using the HCPms for offline storing, I have just created a sample application using the sample odata services available online provided by SAP. when I try to deploy the hybrid app and convert it into an apk and I have installed it in the emulator using the adb install .. but when I try to open the application I am getting communication error as attached.

When I looked into the registration users, I can see that my device is connected to HCPms but why are we getting this error?

Regards,

Danicapture.png

capture.png (112.0 kB)
10 |10000 characters needed characters left characters exceeded

Hi,

Are you referring to any document/blog? Any reference link?

I would suggest you to increase log level to DEBUG for PROXY component in HCPms , reproduce this issue and look into logs.

Regards,

JK

0
Former Member

Hi Jitendra,

I am looking into this blog for creating offline app,

https://blogs.sap.com/2015/06/01/creating-a-sapui5-master-detail-project-for-offline-apps-using-sap-web-ide/#comment-314601

after creating the app, I have build the .apk file in the android build folder using the command, cordova build.

Then later installed the apk file inside my emulator manually.

0
Former Member

Any solution to solve this problem ?

0
Former Member
Former Member

This is the log which is generated on my HCPms trail account

capture1.png (82.4 kB)
0
Former Member
Former Member
#2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469007#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleAPPCID########644#####Set request attributes.# #2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469009#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.mobilink.MLSMPLogger:debug########644#####1476907924477 new request# #2.0#2016-10-19 04:12:04 PM#DEBUG#Offline####1476907924469008#c59d4053b1f841de916baeb6d2ab8baa##MobilinkAppcidFilter:doFilter########644#####Forwarding request to MobiLink adapter. APPCID: 267db39e-5e38-4edb-9ac4-49dbe5319d22 , requestURI: /MobiLink/ServletAsync, requestMethod: POST# #2.0#2016-10-19 04:12:04 PM#DEBUG#Offline####1476907924469010#c59d4053b1f841de916baeb6d2ab8baa##MobilinkAppcidFilter:doFilter########644#####Completed MobiLink adapter request. APPCID: 267db39e-5e38-4edb-9ac4-49dbe5319d22 , requestURI: /MobiLink/ServletAsync, requestMethod: POST, responseStatus: 200 time since handoff(ms): 1# #2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469003#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleAPPCID########644#####Looking up the application com.sap.offline# #2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469004#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleApplication########644#####Application security configuration = NONE# #2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469005#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleApplication########644#####Set com.sap.mobile.platform.server.appcid.ignorecase.username request attribute to true# #2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469006#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleApplication########644#####clientID = 0# #2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469001#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:doFilter########644#####Processing request through UploadLogsAuthFilter# #2.0#2016-10-19 04:12:04 PM#DEBUG####Offline#1476907924469002#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleAPPCID########644#####Looking up the application connection information for 267db39e-5e38-4edb-9ac4-49dbe5319d22# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747009#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.mobilink.MLSMPLogger:debug########621#####1476907923755 new request# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747010#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.mobilink.MLSMPLogger:debug########621#####recved client cert: null# #2.0#2016-10-19 04:12:03 PM#DEBUG#Offline####1476907923747011#c59d4053b1f841de916baeb6d2ab8baa##MobilinkAppcidFilter:doFilter########621#####Completed MobiLink adapter request. APPCID: 267db39e-5e38-4edb-9ac4-49dbe5319d22 , requestURI: /MobiLink/ServletAsync, requestMethod: POST, responseStatus: 200 time since handoff(ms): 3# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747005#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleApplication########621#####Set com.sap.mobile.platform.server.appcid.ignorecase.username request attribute to true# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747006#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleApplication########621#####clientID = 0# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747007#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleAPPCID########621#####Set request attributes.# #2.0#2016-10-19 04:12:03 PM#DEBUG#Offline####1476907923747008#c59d4053b1f841de916baeb6d2ab8baa##MobilinkAppcidFilter:doFilter########621#####Forwarding request to MobiLink adapter. APPCID: 267db39e-5e38-4edb-9ac4-49dbe5319d22 , requestURI: /MobiLink/ServletAsync, requestMethod: POST# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747002#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleAPPCID########621#####Looking up the application connection information for 267db39e-5e38-4edb-9ac4-49dbe5319d22# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747003#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleAPPCID########621#####Looking up the application com.sap.offline# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747004#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:handleApplication########621#####Application security configuration = NONE# #2.0#2016-10-19 04:12:03 PM#DEBUG####Offline#1476907923747001#c59d4053b1f841de916baeb6d2ab8baa##com.sap.mobile.platform.server.online.filter.application.MobilinkAppcidFilter:doFilter########621#####Processing request through UploadLogsAuthFilter# Close
0

Hello Siv,

Were you able to find solution to your query?

Regards,

JK

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers