conda-forge.github.io icon indicating copy to clipboard operation
conda-forge.github.io copied to clipboard

HTTP error

Open shenhai-ran opened this issue 1 year ago • 0 comments

Conda-forge documentation

  • [x] I could not solve my problem using the conda-forge documentation.

Installed packages

Name Version Build Channel

_libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge archspec 0.2.3 pyhd8ed1ab_0 conda-forge boltons 24.0.0 pyhd8ed1ab_0 conda-forge brotli-python 1.1.0 py312h2ec8cdc_2 conda-forge bzip2 1.0.8 h4bc722e_7 conda-forge c-ares 1.32.3 h4bc722e_0 conda-forge ca-certificates 2024.8.30 hbcca054_0 conda-forge certifi 2024.8.30 pyhd8ed1ab_0 conda-forge cffi 1.17.1 py312h06ac9bb_0 conda-forge charset-normalizer 3.4.0 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge conda 24.9.0 py312h7900ff3_0 conda-forge conda-libmamba-solver 24.9.0 pyhd8ed1ab_0 conda-forge conda-package-handling 2.4.0 pyh7900ff3_0 conda-forge conda-package-streaming 0.11.0 pyhd8ed1ab_0 conda-forge distro 1.9.0 pyhd8ed1ab_0 conda-forge fmt 10.2.1 h00ab1b0_0 conda-forge frozendict 2.4.6 py312h66e93f0_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge hpack 4.0.0 pyh9f0ad1d_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge icu 75.1 he02047a_0 conda-forge idna 3.10 pyhd8ed1ab_0 conda-forge jsonpatch 1.33 pyhd8ed1ab_0 conda-forge jsonpointer 3.0.0 py312h7900ff3_1 conda-forge keyutils 1.6.1 h166bdaf_0 conda-forge krb5 1.21.3 h659f571_0 conda-forge ld_impl_linux-64 2.43 h712a8e2_2 conda-forge libarchive 3.7.4 hfca40fe_0 conda-forge libcurl 8.10.1 hbbe4b11_0 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 hd590300_2 conda-forge libexpat 2.6.3 h5888daf_0 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc 14.2.0 h77fa898_1 conda-forge libgcc-ng 14.2.0 h69a702a_1 conda-forge libgomp 14.2.0 h77fa898_1 conda-forge libiconv 1.17 hd590300_2 conda-forge libmamba 1.5.9 h4cc3d14_0 conda-forge libmambapy 1.5.9 py312h7fb9e8e_0 conda-forge libnghttp2 1.64.0 h161d5f1_0 conda-forge libnsl 2.0.1 hd590300_0 conda-forge libsolv 0.7.30 h3509ff9_0 conda-forge libsqlite 3.47.0 hadc24fc_0 conda-forge libssh2 1.11.0 h0841786_0 conda-forge libstdcxx 14.2.0 hc0a3c3a_1 conda-forge libstdcxx-ng 14.2.0 h4852527_1 conda-forge libuuid 2.38.1 h0b41bf4_0 conda-forge libxcrypt 4.4.36 hd590300_1 conda-forge libxml2 2.12.7 he7c6b58_4 conda-forge libzlib 1.3.1 hb9d3cd8_2 conda-forge lz4-c 1.9.4 hcb278e6_0 conda-forge lzo 2.10 hd590300_1001 conda-forge mamba 1.5.9 py312h9460a1c_0 conda-forge menuinst 2.1.2 py312h7900ff3_1 conda-forge ncurses 6.5 he02047a_1 conda-forge openssl 3.3.2 hb9d3cd8_0 conda-forge packaging 24.1 pyhd8ed1ab_0 conda-forge pip 24.2 pyh8b19718_1 conda-forge platformdirs 4.3.6 pyhd8ed1ab_0 conda-forge pluggy 1.5.0 pyhd8ed1ab_0 conda-forge pybind11-abi 4 hd8ed1ab_3 conda-forge pycosat 0.6.6 py312h98912ed_0 conda-forge pycparser 2.22 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.12.7 hc5c86c4_0_cpython conda-forge python_abi 3.12 5_cp312 conda-forge readline 8.2 h8228510_1 conda-forge reproc 14.2.4.post0 hd590300_1 conda-forge reproc-cpp 14.2.4.post0 h59595ed_1 conda-forge requests 2.32.3 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.18.6 py312h66e93f0_1 conda-forge ruamel.yaml.clib 0.2.8 py312h66e93f0_1 conda-forge setuptools 75.1.0 pyhd8ed1ab_0 conda-forge tk 8.6.13 noxft_h4845f30_101 conda-forge tqdm 4.66.5 pyhd8ed1ab_0 conda-forge truststore 0.9.2 pyhd8ed1ab_0 conda-forge tzdata 2024b hc8b5060_0 conda-forge urllib3 2.2.3 pyhd8ed1ab_0 conda-forge wheel 0.44.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge yaml-cpp 0.8.0 h59595ed_0 conda-forge zstandard 0.23.0 py312hef9b889_1 conda-forge zstd 1.5.6 ha6fb4c9_0 conda-forge

Environment info

 active environment : base
active env location : /home/shenhai/.local/program/miniforge3
        shell level : 1
   user config file : /home/shenhai/.condarc

populated config files : /home/shenhai/.local/program/miniforge3/.condarc /home/shenhai/.condarc conda version : 24.9.0 conda-build version : not installed python version : 3.12.7.final.0 solver : libmamba (default) virtual packages : __archspec=1=skylake __conda=24.9.0=0 __cuda=12.4=0 __glibc=2.40=0 __linux=5.15.153.1=0 __unix=0=0 base environment : /home/shenhai/.local/program/miniforge3 (writable) conda av data dir : /home/shenhai/.local/program/miniforge3/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch package cache : /home/shenhai/.local/program/miniforge3/pkgs /home/shenhai/.conda/pkgs envs directories : /home/shenhai/.local/program/miniforge3/envs /home/shenhai/.conda/envs platform : linux-64 user-agent : conda/24.9.0 requests/2.32.3 CPython/3.12.7 Linux/5.15.153.1-microsoft-standard-WSL2 arch/20240721.0.248532 glibc/2.40 solver/libmamba conda-libmamba-solver/24.9.0 libmambapy/1.5.9 UID:GID : 1000:1000 netrc file : None offline mode : False

Issue

I have trouble with http error after a fresh installation on WSL2, I also have the same issue with Window 11 where the conda version is 24.7.1. When I just try the command conda update conda, I got the following error:

Channels:
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): - Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /conda-forge/noarch/repodata.json.zst

Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /conda-forge/linux-64/repodata.json.zst

| Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /conda-forge/noarch/repodata.json.zst

/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /conda-forge/linux-64/repodata.json.zst

\ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /conda-forge/noarch/repodata.json.zst

Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'RemoteDisconnected('Remote end closed connection without response')': /conda-forge/linux-64/repodata.json.zst

failed

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

I have no trouble with network connect in general on both WSL2 and Win 11.

Thanks for your help.

shenhai-ran avatar Oct 27 '24 20:10 shenhai-ran