NLeSC / root-conda-recipes

Conda recipes for building ROOT 5 and ROOT 6 binaries, root_numpy, rootpy, root_pandas, with both Python 2 and Python 3 support.
29 stars 18 forks source link

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.binstar.org/NLeSC/linux-64/repodata.json> #40

Closed fdesse closed 6 years ago

fdesse commented 6 years ago

Dear all,

Since a few weeks, I noticed a new error, that was not happening before. Whenever I try to create a new environment:

$ conda create --name=Test python=3.6 
Fetching package metadata .....
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.binstar.org/NLeSC/linux-64/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.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'conda.binstar.org\', port=443): Max retries exceeded with url: /NLeSC/linux-64/repodata.json (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')],)",),))',),)

Is this a global issue or is this just me ?

This is my miniconda info:

$ conda info
Current conda install:

               platform : linux-64
          conda version : 4.3.30
       conda is private : False
      conda-env version : 4.3.30
    conda-build version : not installed
         python version : 3.6.3.final.0
       requests version : 2.18.4
       root environment : /afs/cern.ch/work/f/fadesse/miniconda3  (writable)
    default environment : /afs/cern.ch/work/f/fadesse/miniconda3
       envs directories : /afs/cern.ch/work/f/fadesse/miniconda3/envs
                          /afs/cern.ch/user/f/fadesse/.conda/envs
          package cache : /afs/cern.ch/work/f/fadesse/miniconda3/pkgs
                          /afs/cern.ch/user/f/fadesse/.conda/pkgs
           channel URLs : https://conda.anaconda.org/NLeSC/linux-64
                          https://conda.anaconda.org/NLeSC/noarch
                          https://conda.binstar.org/NLeSC/linux-64
                          https://conda.binstar.org/NLeSC/noarch
                          https://repo.continuum.io/pkgs/main/linux-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /afs/cern.ch/user/f/fadesse/.condarc
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.3 Linux/2.6.32-696.23.1.el6.x86_64 Scientific Linux CERN SLC/6.9 glibc/2.12    
                UID:GID : 103215:1470

Cheers, Fabrice

tunnell commented 6 years ago

You might want to try removing the binstar.org reference in your ~/.condarc. I think this is a previous naming or something of the service. At very least, that servers SSL certificate appears expired. My ~/.condarc is:

channels:
  - http://conda.anaconda.org/NLeSC
  - defaults
fdesse commented 6 years ago

Indeed that did the trick, thanks !