IBM Support

PI94184: APP RUNNING ON WINDOWS 10 CANNOT RECEIVE A GZIP COMPRESSED TRANSFER VIA HTTP.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Product components impacted: MFP SDK
    Affected mobile development environments:  Windows
    Mobile Devices Operating Systems impacted:  Windows 10
    User roles impacted: Developer and User
    Distribution:  npm
    Versions affected: 8.0
    
    On the MobileFirst server, gzip-compress-transfer was defined.
    When testing with a web browser as a client, the browser
    received the gzip-compress-transfer data correctly.  However,
    when trying to receive the data in a MobileFirst app on Windows
    10, a failure occurred.  The following error was written to the
    Visual Studio log:
    
    Failed to send native request (reason: 'SharpCompress,
    Version=0.10.3.0, Culture=neutral,
    PublicKeyToken=64eb6448c87dfed9' or one of its dependencies.
    The assembly version has a public key token that does not match
    that of the request. (HRESULT exception:0x80132001))
    
    The issue occurs because the native layer and the cordova layer
    have different a different PublicKeyToken for the
    sharpcompress.dll.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MIRAIT Information Systems                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * APP RUNNING ON WINDOWS 8.1 CANNOT RECEIVE A GZIP COMPRESSED  *
    * TRANSFER VIA HTTP.                                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The issue fixed and changes have been delivered . There was a
    compatibility issue with native and cordova layer of
    Sharpcompress library's build versions .The compressed response
    can be obtained from the server when gzip is enabled .
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI94184

  • Reported component name

    MOBILE1ST PLATF

  • Reported component ID

    5725I4301

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-02-22

  • Closed date

    2018-05-08

  • Last modified date

    2018-05-08

  • 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 PLATF

  • Fixed component ID

    5725I4301

Applicable component levels

  • R800 PSY

       UP

[{"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:
08 May 2018