GeezerVison is showing github.com — Broken links on documentation download pages · Issue #95290 · python/cpython
Broken links on documentation download pages #95290ActivityMariatta commented on Jul 26, 2022 This could be due to the docs are still being built, and not yet available for download. As the error message suggests, can you try again in a couple more hours? hop commented on Jul 26, 2022 As I wrote in my initial description: the docs are available for download hugovk commented on Jul 26, 2022 hop commented on Jul 26, 2022 As I said in my initial description: the download pages for all python versions have the same problem. hugovk commented on Jul 26, 2022 arhadthedev commented on Jul 26, 2022 ned-deily commented on Jul 26, 2022 hop commented on Jul 26, 2022 As I said, the redirect is there for the directory, but not for the archive files themselves.
It's now been several hours and the problem persists, so even if this has to do with the build process as @Mariatta suggested, it looks like problem to me. encukou commented on Mar 23, 2023 @ewdurbin, can you set up redirects from https://docs.python.org/ftp to https://www.python.org/ftp?
As discussed above it would fix the docs download links, without needing to rebuild docs. IMO it's also better in long-term than changing build scripts, even though it'll be one more thing to think about if docs move to e.g. Read The Docs. ewdurbin commented on Mar 23, 2023 ewdurbin commented on Mar 23, 2023 ewdurbin commented on Mar 23, 2023 Oh, I see. That redirect should just need updated to match on the prefix /ftp. If anyone would like to open a PR to psf-salt I will happily review, merge, and deploy it. ewdurbin commented on Mar 23, 2023 Best guess is there is a bad interaction with the block directly above the ftp redirect given the following:
$ curl -s -I https://docs.python.org/ftp/python/doc/3.10.4/python-3.10.4-docs-html.zip
HTTP/2 404
server: nginx
content-type: text/html
$ curl -s -I https://docs.python.org/ftp/python/doc/3.10.4/python-3.10.4-docs-html.zap
HTTP/2 301
server: nginx
content-type: text/html
location: https://www.python.org/ftp/python/doc/3.10.4/python-3.10.4-docs-html.zap
ewdurbin commented on Mar 23, 2023 looks resolved:
$ curl -s -I https://docs.python.org/ftp/python/doc/3.10.4/python-3.10.4-docs-html.zip
HTTP/2 404
server: nginx
content-type: text/html
$ curl -XPURGE https://docs.python.org/ftp/python/doc/3.10.4/python-3.10.4-docs-html.zip
{ "status": "ok", "id": "9222-1679515278-1" }
$ curl -s -I https://docs.python.org/ftp/python/doc/3.10.4/python-3.10.4-docs-html.zip
HTTP/2 301
server: nginx
content-type: text/html
location: https://www.python.org/ftp/python/doc/3.10.4/python-3.10.4-docs-html.zip
note that it'll take some time for the current cached redirects to expire. hugovk commented on Mar 23, 2023
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|