question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent 404's for documentation pages on https://distributed.readthedocs.io

See original GitHub issue

I was having trouble navigating through the documentation for this project because I kept getting 404’s. I thought the docs were producing bad links, but I finally realized that distributed.readthedocs.io sometimes returns 200 and sometimes returns a 404 for the same URL! I realize this probably is an issue for rtfd/readthedocs.org but reporting it here since it’s most likely affecting your user base and maybe you have some way to force a rebuild or escalate the issue.

Example of 4 http requests to the same URL – 2 succeed and 2 fail:

for i in {1..4}; do curl -I https://distributed.readthedocs.io/en/latest/locality.html; done
HTTP/1.1 200 OK
Server: nginx/1.10.0 (Ubuntu)
Date: Fri, 09 Jun 2017 19:29:21 GMT
Content-Type: text/html
Content-Length: 31954
Last-Modified: Thu, 08 Jun 2017 16:52:03 GMT
Connection: keep-alive
Vary: Accept-Encoding
ETag: "593980b3-7cd2"
X-Subdomain-TryFiles: True
X-Served: Nginx
X-Deity: web03
Accept-Ranges: bytes

HTTP/1.1 200 OK
Server: nginx/1.10.0 (Ubuntu)
Date: Fri, 09 Jun 2017 19:29:21 GMT
Content-Type: text/html
Content-Length: 31954
Last-Modified: Thu, 08 Jun 2017 16:52:03 GMT
Connection: keep-alive
Vary: Accept-Encoding
ETag: "593980b3-7cd2"
X-Subdomain-TryFiles: True
X-Served: Nginx
X-Deity: web03
Accept-Ranges: bytes

HTTP/1.1 404 Not Found
Server: nginx/1.10.0 (Ubuntu)
Vary: Accept-Encoding
Vary: Cookie, Accept-Language
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Jun 2017 19:29:22 GMT
Transfer-Encoding: chunked
Content-Language: en
Connection: Keep-Alive
Set-Cookie: csrftoken=P84b4mnalTvv2gukwCbwVVsDIRczbBwE; expires=Fri, 08-Jun-2018 19:29:22 GMT; httponly; Max-Age=31449600; Path=/

HTTP/1.1 404 Not Found
Server: nginx/1.10.0 (Ubuntu)
Vary: Accept-Encoding
Vary: Cookie, Accept-Language
Content-Type: text/html; charset=utf-8
Date: Fri, 09 Jun 2017 19:29:22 GMT
Transfer-Encoding: chunked
Content-Language: en
Connection: Keep-Alive
Set-Cookie: csrftoken=AYZRJbVZBquUyqDO34fwcnoT290JhZTX; expires=Fri, 08-Jun-2018 19:29:22 GMT; httponly; Max-Age=31449600; Path=/

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mrocklincommented, Jun 16, 2017

Other projects have reported having the same issues so it appears to be an issue upstream. This seems to have resolved itself.

1reaction
mrocklincommented, Jun 9, 2017

Yes, this is also affecting dask/dask. Related issue here: https://github.com/dask/dask/issues/2446

Read more comments on GitHub >

github_iconTop Results From Across the Web

sphinx-notfound-page - Read the Docs
sphinx-notfound-page is a Sphinx extension to create custom 404 pages and help you to generate proper resource links (js, css, images, etc) to...
Read more >
How do I get readthedocs to use a custom 404 page? #5050
If I go to https://xolotl.readthedocs.io/en/master/fsdf, I expect to see the 404 page that is part of my theme (which is what I see...
Read more >
Do 404 errors hurt my site? | Google Search Central Blog
A: Take a look at the 'Detected' column on the Crawl errors page—this is the most recent date on which we detected each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found