IBM Support

The skip-backside service variable is impacted by an x-dp-response-code modification.

Troubleshooting


Problem

The skip-backside service variable does not seem to work when the x-dp-response-code is modified.

Symptom

When you set the service variable var://service/mpgw/skip-backside and then set the x-dp-response-code, the skip-backside property is ignored. The result is that traffic attempts to go to a remote server instead of looping back to the requesting client.

Cause

The skip-backside variable and the x-dp-response-code are related. If the x-dp-response-code is set at any point after the skip-backside is set, the skip-backside setting is ignored.

Diagnosing The Problem

You are using the skip-backside variable and you set the x-dp-response-code but your DataPower service continues to send requests to the backside.

Resolving The Problem

The problem is with the order that you set the variables. To make a Multi-Protocol Gateway act as a loopback service by setting the skip-backside variable when you also set the x-dp-response-code, check the order. You must set the x-dp-response-code before you set the skip-backside variable. This order of setting the variables is important to force the correct behavior.

This issue occurs only in releases 6.0.1 and earlier. In later releases, you can set x-dp-response-code and skip-backside in any order. In other words, if you the set skip-backside variable, the loopback behavior occurs regardless of the x-dp-response-code variable setting.

[{"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF009","label":"Firmware"}],"Version":"4.0.2;4.0.1;5.0.0;6.0.0;6.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 June 2021

UID

swg21669784