Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  DNF connection error while using proxy

    Posted Wed November 15, 2023 08:58 AM

    Hi,

    I have a following error when running DNF update (proxy name and port nnumber changed):

    # ./dnf update
    AIX generic repository                                                                                                                 0.0  B/s |   0  B     00:16
    Errors during downloading metadata for repository 'AIX_Toolbox':
      - Curl error (35): SSL connect error for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml [OpenSSL SSL_connect: A connection with a remote socket was reset by that socket. in connection to myproxy.abc.xy:1234 ]
    Error: Failed to download metadata for repo 'AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

    I can resolve and ping public.dhe.ibm.com from shell.

    # host public.dhe.ibm.com
    public.southdata.ibm.com is 170.225.126.18,  Aliases:   public.dhe.ibm.com

    # ping public.dhe.ibm.com
    PING public.southdata.ibm.com: (170.225.126.18): 56 data bytes
    64 bytes from 170.225.126.18: icmp_seq=0 ttl=236 time=134 ms
    64 bytes from 170.225.126.18: icmp_seq=1 ttl=236 time=133 ms

    We are using proxy.

    So I exported proxy in shell.

    export https_proxy=https://myproxy.abc.xy:1234

    DNF was mannualy downloaded and installed from dnf_bundle_aix_71_72.tar

    Hope someone can help. Should we do some additional configuration for proxy?

    Best regards,

    Zoran



    ------------------------------
    Zoran Solaja
    ------------------------------

    #AIXOpenSource



  • 2.  RE: DNF connection error while using proxy

    Posted Thu November 16, 2023 01:18 AM

    "OpenSSL SSL_connect: A connection with a remote socket was reset by that socket. in connection to myproxy.abc.xy:1234" 
    So it is trying to connect to the proxy and failed. There is some problem with the ssl connection between the machine and the proxy. Please check that. 



    ------------------------------
    Ayappan P
    ------------------------------