Skip to main content
New Participant
May 16, 2022 8:51 AM UTC

Environment ACTIVATE fails with connection problems.

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

    5 replies

    Alexander Klochkov
    Rocketeer
    May 16, 2022 10:24 AM UTC
    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
    ------------------------------

    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
    ------------------------------
    Luc WuytsAuthor
    New Participant
    May 17, 2022 1:59 AM UTC

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

    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
    ------------------------------
    Alexander Klochkov
    Rocketeer
    May 17, 2022 5:05 AM UTC

    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
    ------------------------------
    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
    ------------------------------
    Luc WuytsAuthor
    New Participant
    May 17, 2022 8:45 AM UTC
    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
    ------------------------------

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

    Alexander Klochkov
    Rocketeer
    May 17, 2022 9:03 AM UTC

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

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