Problem Description:
I am currently using IBM APIC 5.0.0 deployed on OCP 4.12.9 and attempting to configure a proxy (172.31.38.214 3128) on IBM DataPower Gateway 1.7.0. My goal is to enable APIs deployed in APIC to connect to their original addresses through this proxy, rather than provide services externally. I have encountered issues during this configuration process and seek technical support.
Environment Description:
Configuration and Encountered Issues:
I added the following configuration in the small-gw-apiconnect-domain-final-config
file:
apigw apiconnect
proxy * 172.31.38.214 3128
exit
Afterward, the gateway's pod restarted and displayed an error. The error message was:
20230814T133228.404Z [0x81000243][cli][error] apigw(apiconnect): tid(22806): required property front-protocol is missing
This error indicated that I lacked the necessary "front-protocol" property in the proxy configuration.
So, I added the "front-protocol" property:
apigw apiconnect
front-protocol apiconnect_https_9443
proxy * 172.31.38.214 3128
exit
Still, it displayed an error:
20230814T135110.708Z [apiconnect][0x8100021e][cli][error] apigw(apiconnect): tid(22806): 'apiconnect_https_9443' is not valid
20230814T135110.708Z [apiconnect][][cli][error] : tid(22806): (config:///datapower-operator-apiconnect-init.cfg:212): front-protocol apiconnect_https_9443
20230814T135110.708Z [apiconnect][0x81000243][cli][error] apigw(apiconnect): tid(22806): required property front-protocol is missing
These errors seem related to the frontend protocol apiconnect_https_9443
that I attempted to use, and they continue to point out the missing "front-protocol" property.
I attempted to manually configure it after the pod started using oc attach -it small-gw-0
, but this method is very unstable. The configuration is easily lost, or it can be lost after the pod restarts, causing the proxy to malfunction.
Requested Support:
I am seeking support from the IBM technical team to resolve the above issues and help me successfully configure the proxy connection service on the gateway. Specifically, I need to know:
-
How to correctly configure the proxy in the small-gw-apiconnect-domain-final-config
file to allow APIs to connect to their original addresses through the proxy?
-
How to ensure the stability of the configuration to prevent loss after the pod restarts?
I look forward to your reply and thank you for your support.
------------------------------
jeff xu
------------------------------