Conda http error
1
1
Entering edit mode
2.5 years ago
kacollier ▴ 30

I use conda (anaconda3) to install and access a number of tools necessary for my WGS pipeline. It's worked well (environments load, run and are created as designed) in all the time I've used it, including for several weeks on my current computer setup.

However, while trying to create a new environment (conda create --name gatk), I got this error message:

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/linux-64/current_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. 'https://conda.anaconda.org/conda-forge/linux-64'

This error has persisted for several days, and prevents conda from downloading packages or creating any new environments. It does not affect my ability to run previously-downloaded packages, or switch between environments already present on my machine. I'm SSHing into a remote server using PuTTY, running Ubuntu in a bash shell. This error is also replicated in a fresh conda distribution - I installed miniconda3 and tried to create a new environment like that.

I've also tried using conda config --set ssl_verify no to get the packages into my system, but that doesn't solve it. Has anyone else here had this issue, or have any insight as to why this is happening?

http conda environment • 5.4k views
ADD COMMENT
2
Entering edit mode
2.5 years ago
kacollier ▴ 30

Issue resolved. It was a firewall problem with the area I work at; the correct solution was "go ask IT to solve your problem for you".

ADD COMMENT
0
Entering edit mode

Can you give details on what was done to solve it? I have a machine here with a WSL2 and have super slow conda download and connection rates, only in the WSL2, not the Windows system, not when using conda out of a container within WSL2, not from other machine. I never solved this and it's probably not related to your situation but looking for any pointers.

ADD REPLY
0
Entering edit mode

Do you have a public IP address for your windows machine or not? You may be doing double NAT (if you have a private IP address).

ADD REPLY

Login before adding your answer.

Traffic: 1908 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6