IBM Support

IT35242: WEBSOCKET UPGRADE FAILS IF HTTP RESPONSE CODE IS MANUALLY SET

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The HTTPS Front Side Handler of MPGW is set to "allow websocket
    upgrade reqeusts". The Websocket Upgrade requests are processed
    and then passed to the backend server. The backend processes
    the request successfully and sends HTTP 101 to DP but DP passes
    an HTTP 200 to the client.
    
    This can occur if the processing
    policy has xml to modify the http response code, similar to
    below -
    
    <dp:set-http-response-header
    name="'x-dp-response-code'" value="$xResponseCode"/>
    

Local fix

  • Remove the xml that is changing the http response code.
    

Problem summary

  • The upgrade will now work even if the response code has been
    manually set by the system variable.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT35242

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    A0X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-12-11

  • Closed date

    2021-01-22

  • Last modified date

    2021-01-22

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • RA0X PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X"}]

Document Information

Modified date:
30 August 2021