Closed native-api closed 4 months ago
@native-api,
Has this issue been resolved? It looks like it may have just been a temporary problem.
Still same errors. At the same time, if I manually download these URLs with cURL, they download fine.
So I believe it's a misconfiguration and/or CDN malfunction that rejects certain User-Agent:
s.
@jezdez, pinging you here to see if this should be transferred to https://github.com/conda/infrastructure
@travishathaway Yep!
Attached a Bash trace log of the failed Pyenv install commands. It contains invocations that lead to the errors. out.txt These lines look suspicious:
warning libmamba Package tarball '/Users/admin/micromamba/pkgs/bzip2-1.0.8-h0d85af4_4.tar.bz2' is invalid
warning libmamba Package tarball '/Users/admin/micromamba/pkgs/c-ares-1.18.1-h0d85af4_0.tar.bz2' is invalid
warning libmamba Package tarball '/Users/admin/micromamba/pkgs/ca-certificates-2022.12.7-h033912b_0.conda' is invalid
warning libmamba Package tarball '/Users/admin/micromamba/pkgs/libcxx-14.0.6-hccf4f1f_0.tar.bz2' is invalid
warning libmamba Package tarball '/Users/admin/micromamba/pkgs/libffi-3.4.2-h0d85af4_5.tar.bz2' is invalid
warning libmamba Package tarball '/Users/admin/micromamba/pkgs/libzlib-1.2.13-hfd90126_4.tar.bz2' is invalid
Maybe the error message is a blatant lie and it doesn't even try to download anything?
Maybe the error message is a blatant lie and it doesn't even try to download anything?
No, a further inspection shows clear traces of 403s from Cloudflare:
admin@Mac-Admin .pyenv % cd ~/micromamba/pkgs
admin@Mac-Admin pkgs % ls
bzip2-1.0.8-h0d85af4_4.tar.bz2 libcxx-14.0.6-hccf4f1f_0.tar.bz2 libzlib-1.2.13-hfd90126_4.tar.bz2
c-ares-1.18.1-h0d85af4_0.tar.bz2 libev-4.33-haf1e3a3_1.tar.bz2 urls.txt
ca-certificates-2022.12.7-h033912b_0.conda libffi-3.4.2-h0d85af4_5.tar.bz2
admin@Mac-Admin pkgs % file ca-certificates-2022.12.7-h033912b_0.conda
ca-certificates-2022.12.7-h033912b_0.conda: HTML document text, ASCII text, with CRLF line terminators
admin@Mac-Admin pkgs % head ca-certificates-2022.12.7-h033912b_0.conda
<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
admin@Mac-Admin pkgs % cat bzip2-1.0.8-h0d85af4_4.tar.bz2
<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
In any case, it looks like the installation bundles are broken -- that's why the installer tries to download anything in the first place.
Hi there, thank you for your contribution!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.
If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment.
Thanks!
This seems to have been resolved as part of the recent CDN sync improvements.
Checklist
What happened?
Subj. See https://github.com/pyenv/pyenv/actions/runs/8057336828?pr=2909 for details. Tried to rerun the jobs a few times during the last 10 hours.
These URLs have been seen yield 403s:
Tried to run the installations from home and got the same errors with the same URLs.
Conda Info
Conda Config
Conda list
Additional Context
No response