WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

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

featureUtility connectivity issues via proxy when running inside podman (or during podman build)

  • 1.  featureUtility connectivity issues via proxy when running inside podman (or during podman build)

    Posted Wed August 09, 2023 10:33 AM

    We are uing the icr.io/appcafe/websphere-liberty base images on RHEL using podman. However we are discovering issues running the featureUtility as we need to connect the via a proxy server. The issue is the same if we run the featureUtility from the containers bash or when running the features.sh during the podman built command.

    We've setup the featureUtility.properties  and the repositories.properties with the following content:

    proxyHost=proxy.xyz.com
    proxyPort=8080

    The installUtility testConnection  works fine using this setup however the featureUtility (or features.sh) hangs when accessing https://repo.maven.apache.org/maven2/. Checking with netstat -tan  we can see a socket in SYN_SENT fo 199.232.16.215:443.

    As we can access https://repo.maven.apache.org/maven2/ using curl from the container's shell and the installUtility testConnection works we suspect there is something wrong with the featureUtility.

    Seems like the featureUtility is ignoring the proxy settings (also tried to set the http_proxy & https_proxy environment variable without success). Any advise on how we can setup the featureUtility properly is deeply appreciated.

    Thanks in advance, Hermann



    ------------------------------
    Hermann Huebler
    2innovate IT Consulting GmbH
    Vienna
    Austria

    #IBMChampion
    ------------------------------