IBM Support

PH20906: ANDROID NATIVE APP FAILS TO CONNECT TO MOBILEFIRST SERVER WITH OS UPDATE OR FACTORY RESET

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When an Android native app has the
    allowBackup:true option set in the AndroidManifest.xml, the app
    data is backed up to the
    Google Cloud. When such a device undergoes an OS update or
    factory reset and the backed up data is restored, the app fails
    to connect to the
    MobileFirst server.
    
    The connection to the MobileFirst server fails with following
    error:
    
    Error 405: Request method PUT not supported
    
    PUT "/app/api/registration/v1/self/ HTTP/1.1" 405
    

Local fix

  • Re-install the application or clear app data and cache for app
    to connect back to MobileFirst
    server.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * End users of Mobile Foundation apps on native Android with   *
    * automatic backup of app data                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When a Mobile Foundation Android native app has the          *
    * allowBackup:true option                                      *
    * set in the AndroidManifest.xml, the app data is backed up to *
    * the                                                          *
    * cloud. When such a device undergoes a OS update or factory   *
    * reset  and                                                   *
    * the backed up data is restored, the app fails to connect to  *
    * the                                                          *
    * MobileFirst server.                                          *
    *                                                              *
    * The connection to the MobileFirst server fails with          *
    * following                                                    *
    * error on the callback function:                              *
    *                                                              *
    * Error 405: Request method PUT not supported                  *
    *                                                              *
    * PUT "/app/api/registration/v1/self/ HTTP/1.1" 405            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The problem has been fixed by resetting the state of the app
    after undergoing an OS update or a factory reset
    

Temporary fix

  • Re-install the application or  clear app data and cache for app
    to connect back to MobileFirst
    server.
    

Comments

APAR Information

  • APAR number

    PH20906

  • Reported component name

    MOBILE1ST PF EN

  • Reported component ID

    5725I4300

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-10

  • Closed date

    2020-02-04

  • Last modified date

    2020-02-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MOBILE1ST PF EN

  • Fixed component ID

    5725I4300

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 February 2020