SSLError when trying to update
Hi, I have a conda environment set up to use the development branch of yt. When I just now went to update it I got:
conda update -c http://use.yt/with_conda/ -c conda-forge yt Fetching package metadata .............
CondaHTTPError: HTTP None None for url <None> An HTTP error occurred when trying to retrieve this URL. SSLError(SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),),) I don't get the "None None" bit, but it looks like a problem with the SSL certificate. Or maybe it's something else. Any help would be appreciated. Thanks, Jon -- ________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA jslavin@cfa.harvard.edu 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ________________________________________________________
Hi Jon,
I think this happens when there are web hosting issues with conda. I think
if you give it a little bit of time it should return to normal.
-Matt
On Tue, Apr 18, 2017 at 2:46 PM, Slavin, Jonathan
Hi,
I have a conda environment set up to use the development branch of yt. When I just now went to update it I got:
conda update -c http://use.yt/with_conda/ -c conda-forge yt Fetching package metadata .............
CondaHTTPError: HTTP None None for url <None>
An HTTP error occurred when trying to retrieve this URL. SSLError(SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),),)
I don't get the "None None" bit, but it looks like a problem with the SSL certificate. Or maybe it's something else. Any help would be appreciated.
Thanks, Jon
-- ________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA jslavin@cfa.harvard.edu 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ________________________________________________________
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hey Jonathan,
I asked about this in the conda-forge gitter channel and got a response
after a few days:
No worries, @ngoldbaum. So we package our certificates in a separate
package called ca-certificates. They are just extracted from the certifi
Python package and relocated to allow things like openssl and curl to find
them. This differs from Continuum (or at least last time I checked), which
has them bundled with openssl. The first thing I'd have him check is that
package installed and can Python find them, python -c "import ssl;
print(ssl.get_default_verify_paths())". If the answer is no, then that is
likely a problem. If the answer is yes, then maybe it has something to do
with how this redirection is being handled.
So you should check to see if a package named ca-certificates is installed
in your conda environment. If it is, you should also check the output of
ssl.get_default_verify_paths(). If it turns out that your python can't find
the CA certificates store, that's your issue. If it turns out that python
is locating the CA certificates, then this might be due to a bug in how
conda-forge or continuum have decided to handle this issue.
Unfortunately kind of a headache. I hope you're able to figure this out :)
-Nathan
On Tue, Apr 18, 2017 at 2:46 PM, Slavin, Jonathan
Hi,
I have a conda environment set up to use the development branch of yt. When I just now went to update it I got:
conda update -c http://use.yt/with_conda/ -c conda-forge yt Fetching package metadata .............
CondaHTTPError: HTTP None None for url <None>
An HTTP error occurred when trying to retrieve this URL. SSLError(SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),),)
I don't get the "None None" bit, but it looks like a problem with the SSL certificate. Or maybe it's something else. Any help would be appreciated.
Thanks, Jon
-- ________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA jslavin@cfa.harvard.edu 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ________________________________________________________
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (3)
-
Matthew Turk
-
Nathan Goldbaum
-
Slavin, Jonathan