IBM Support

PH02951: MOBILEFIRST ANDROID CLIENTS FAIL TO CONNECT TO THE SERVER DUE TOAN "INCORRECT JWT FORMAT" ERROR

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

  • Product components impacted:  MobileFirst Cordova SDK
    Affected mobile development environments: Android
    Mobile Devices Operating Systems impacted: Android
    User roles impacted: User
    Distribution: npm, Fix Central
    Versions affected: 8.0
    
    The "Incorrect JWT format" error can result if the time on the
    client device is not synchronized with the server.
    If the client time is ahead of the server time, then the issue
    does
    not occur.  But if the client time is behind the server time,
    then this error will occur.
    

Local fix

  • Ensure that client and server times are synchronized, or that
    the server time is earlier than the client time.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * End users of Cordova apps with the MobileFirst plugin added. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When a Cordova app on an Android device connects to the      *
    * MobileFirst with the time on the device behind the time on   *
    * the server, the server returns an "Incorrect JWT format"     *
    * error.                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The problem was fixed to ensure that the time difference between
    the client and server is taken into account
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH02951

  • 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

    2018-09-18

  • Closed date

    2018-10-09

  • Last modified date

    2018-10-09

  • 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:
09 October 2018