CondaHTTPError: HTTP 000 CONNECTION FAILED

Dear Sir,

I came across problem when installing QIIME2 2018.2 on my MacBook, which was the same error I met on my linux server when I type the conda env create commands

the error shows:

"
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/osx-64/llvmdev-5.0.0-default_1.tar.bz2
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.

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/qiime2/label/r2018.2/osx-64/q2-sample-classifier-2018.2.0-py35_0.tar.bz2
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.

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/bioconda/osx-64/blast-2.6.0-boost1.64_2.tar.bz2
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.
"

Appreciate for your help

Hi,

I assume that your firewall might interfere with http connection, therefore this error.
Try running following command: conda config --set ssl_verify no

and try again to create conda environment.

Deni

3 Likes

Hi @Lennon_Lee,

I had no idea you could do that! Thanks for sharing!

Looking at that error code, I think you've actually got it, since the HTTP can't even connect, it's probably a failure to validate anaconda's TLS certs.

@Lennon_Lee,
Another thing you can do, just to make everything works right, is to run:

conda clean --all

which will clean up any broken packages.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.