Skip to main content
New Participant
Aug 30, 2021 12:11 PM UTC
Question

Miniconda HTTP 401 UNAUTHORIZED

Hi,
(Apologies if this is a duplicate I seem to be having trouble posting)
Can someone point me to the doc on how to specify my credentials in miniconda?
If I issue a conda command I get
CondaHTTPError: HTTP 401 UNAUTHORIZED for url <https://condaserver.rocketsoftwar
e.com/api/repo/zoss-appdev/noarch/repodata.json>
I'm pretty sure I have a support account, but haven't figured out how to specify my credentials.
I've seen the previous post about the 401 error, suggesting using a different channel, but with my firewall already configured for condaserver I thought I would try and use this channel.
Thanks!
Jeff A

    1 reply

    Vladimir Ein
    Rocketeer
    Aug 31, 2021 2:50 AM UTC
    Hi,
    (Apologies if this is a duplicate I seem to be having trouble posting)
    Can someone point me to the doc on how to specify my credentials in miniconda?
    If I issue a conda command I get
    CondaHTTPError: HTTP 401 UNAUTHORIZED for url <https://condaserver.rocketsoftwar
    e.com/api/repo/zoss-appdev/noarch/repodata.json>
    I'm pretty sure I have a support account, but haven't figured out how to specify my credentials.
    I've seen the previous post about the 401 error, suggesting using a different channel, but with my firewall already configured for condaserver I thought I would try and use this channel.
    Thanks!
    Jeff A
    Hi Jeff,

    Here's the command you need to use:

    conda repo login​

    It will ask you for credentials interactively; you can also specify them directly on the command line:

    conda repo login --user 'username' --pass 'password'​

    This command is documented in the z/OS Miniconda documentation at Rocket Community portal (right there beside Miniconda installer itself).

    Regards,
    Vladimir