API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Issues Configuring IBM DataPower Gateway 1.7.0 Proxy Connection with APIC 5.0.0 Deployed on OCP 4.12.9

  • 1.  Issues Configuring IBM DataPower Gateway 1.7.0 Proxy Connection with APIC 5.0.0 Deployed on OCP 4.12.9

    Posted Tue August 15, 2023 11:43 AM

    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:

    • OCP Version: 4.12.9

    • APIC Version: 5.0.0

    • Gateway Type: IBM DataPower Gateway 1.7.0

    • Proxy Configuration: 172.31.38.214 3128

    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
    ------------------------------


  • 2.  RE: Issues Configuring IBM DataPower Gateway 1.7.0 Proxy Connection with APIC 5.0.0 Deployed on OCP 4.12.9

    Posted Wed August 16, 2023 09:57 AM

    APIC v5 support ended some years ago and it was never installable on OCP.

    I don't recognise "1.7.0" as a datapower version either?



    ------------------------------
    Chris Dudley
    ------------------------------