Open-source Languages & Tools for z/OS

 View Only

 Miniconda HTTP 401 UNAUTHORIZED

Jeff Adams's profile image
Jeff Adams posted 08-30-2021 12:14
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
Vladimir Ein's profile image
ROCKETEER Vladimir Ein
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