IBM Support

IT34848: REQUEST.HEADERS.X-CLIENT-IP NEEDS TO BE POPULATED IN DATAPOWER API GATEWAY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After migrating v5 APIs to APIGW, one will see that
    the request.headers (such as request.headers.x-client-ip ) are
    not available on APIGW and returns  'undefined' as instead of
    the expect value.
    In v5:
    request.headers.x-client-ip is populated
    In APIGW:
    request.headers.x-client-ip is NOT populated
    message.headers.x-client-ip is populated
    

Local fix

  • Manually change your gateways scripts to use
    "message.headers.x-client-ip" instead of
    "request.headers.x-client-ip ".
    

Problem summary

  • The APIC user may not use the header request.headers.x-client-ip
     in API Gateway as populated in V5.
    

Problem conclusion

  • Fixed in 2018.4.1.15, 10.0.1.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34848

  • 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-11-09

  • Closed date

    2021-01-26

  • Last modified date

    2021-01-26

  • 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

  • R770 PSY

       UP

  • 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:
29 August 2021