SAP Knowledge Base Article - Preview

2342684 - Kapsel Application crashes after loosing/changing the connection

Symptom

  • Kapsel Application crashes when:
    • Changing a connection from WIFI to 3G/4G or vice versa.
    • Disabling WIFI or 3G/4G when working with the application
    • Enable Airplane Mode
  • The logcat logs show the errors below:
    • com.example.app E/SMP_AUTH_PROXY: AuthoProxyException posts onReceivedError: Error code=-6 Description=Server is down. Unable to reach the server: URL='http://myserver.com' URL=http://myserver.com ErrorType=Err_Type_ServerIsDown
    • com.example.app E/SMP_AUTH_PROXY: com.sap.mp.cordova.plugins.authProxy.AuthProxyException: Unknown Error. Details : java.net.ConnectException: failed to connect to /x.x.x.x (port xxxx) after 60000ms: connect failed: ENETUNREACH (Network is unreachable).
  • Application crashes immediatly after tapping on OK:

    Application Error.png


Read more...

Environment

  • SAP Mobile Platform SDK 3.0 SP12 SDK 
  • Android 4.x/5.x/6.x

Product

SAP Mobile Platform SDK 3.0

Keywords

crash kapsel application airplane 3g 4g lost connection connect failed: ENETUNREACH (Network is unreachable) Err_Type_ServerIsDown application error   , KBA , MOB-SDK-KAP , Kapsel: Hybrid Container , 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.