Open-source Languages & Tools for z/OS

 View Only
  • 1.  Environment ACTIVATE fails with connection problems.

    Posted 05-16-2022 09:38
    Hi,

    After downloading/installing miniconda-zos-2.0-2022-01-17.run, creating a new environment fails with an HTTP connection problem.
    Below are the messages I got during my OMVS session:

    # SetConda
    bash-4.3# conda activate base
    (base) bash-4.3# conda create -p /SERVICE/ROS/T100AA/Area51
    Solving environment: done

    CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/zoss-appdev/zos-z/repodata.json>
    Elapsed: -

    An HTTP error occurred when trying to retrieve this URL.
    HTTP errors are often intermittent, and a simple retry will get you on your way.
    ConnectionError(MaxRetryError("HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /zoss-appdev
    /zos-z/repodata.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x500A978160>: Failed to e
    stablish a new connection: ÝErrno 1¨ EDC9501I The name does not resolve for the supplied parameters.'))"))

    ------------------------------
    Luc Wuyts
    z/OS system engineer
    Euroclear SA/NV
    Brussels BE
    ------------------------------


  • 2.  RE: Environment ACTIVATE fails with connection problems.

    ROCKETEER
    Posted 05-16-2022 10:24

    Hi Luc Wuyts,

    Can you try the following please:

    conda activate 
    echo QUIT | openssl s_client -connect conda.anaconda.org:443 -showcerts

    Thanks,
    Alex



    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------



  • 3.  RE: Environment ACTIVATE fails with connection problems.

    Posted 05-17-2022 01:59

    Hi,
    Nothing was displayed except the command itself.

    bash-4.3# conda activate
    (base) bash-4.3# echo QUIT openssl s_client -connect conda.anaconda.org:443 -showcerts
    QUIT openssl s_client -connect conda.anaconda.org:443 -showcerts
    (base) bash-4.3#



    ------------------------------
    Luc Wuyts
    z/OS system engineer
    Euroclear SA/NV
    Brussels BE
    ------------------------------



  • 4.  RE: Environment ACTIVATE fails with connection problems.

    ROCKETEER
    Posted 05-17-2022 05:05
    Hi Luc,
    You forgot the pipe between QUIT and openssl. (QUIT | openssl)
    Also, can you try 'oping conda.anaconda.org' command also.
    Thanks


    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------



  • 5.  RE: Environment ACTIVATE fails with connection problems.

    Posted 05-17-2022 08:45

    Hi Alexander,

    Not seeing the pipe is a translation table/code page issue.
    The command was entered with the pipe char after QUIT.
    To be sure, I ran it using a batch job having the same result, no data was returned.
    Below is the output found in STDOUT of the job

    The execution of the 'oping' command gave a message "EZZ3111I Unknown host 'conda.anaconda.org' "




    ------------------------------
    Luc Wuyts
    z/OS system engineer
    Euroclear SA/NV
    Brussels BE
    ------------------------------



  • 6.  RE: Environment ACTIVATE fails with connection problems.

    ROCKETEER
    Posted 05-17-2022 09:03

    Hi Luc,

    Looks like  your system has no internet connection... try the following command please:

    conda config --set offline True

    and after that try your initial 'conda create' command



    ------------------------------
    Alexander Klochkov
    QA
    Rocket Internal - All Brands
    Vilnius LT
    ------------------------------