A fix is available
APAR status
Closed as program error.
Error description
The value of x-client-ip header is set from the client address when the GatewayScript gets it as apim.getvariable('message.headers.x-client-ip') in API Connect V5. However context.get('message.headers.x-client-ip') is set from the service local address in DataPower API Gateway.
Local fix
Problem summary
APIGW users who uses GatewayScript to get the x-client-ip header, to call apim.getvariable(??message.headers.X-Client-Ip??), might not be able to get the client's IP address but the IP address of DataPower Gateway.
Problem conclusion
Fix is available in 2018.4.1.10 For a list of the latest fix packs available, please see: http://www-01.ibm.com/support/docview.wss?uid=swg21237631
Temporary fix
Comments
APAR Information
APAR number
IT31533
Reported component name
DATAPOWER
Reported component ID
DP1234567
Reported release
18X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2020-01-15
Closed date
2020-02-18
Last modified date
2020-02-25
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
[{"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":"18X"}]
Document Information
Modified date:
27 September 2021