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.

Chrome DevTools Links falsely reporting 404 (on GitHub Pages URLs?)

See original GitHub issue

Just ran the following command:

npx linkinator https://nodejs.org/dist/latest-v10.x/docs/api/all.html

This successfully tested the Node.js API docs for 404s and surfaced two real 404s that can be fixed 🎊

There were also 4 reported 404s that were all to the Chrome DevTools website:

These 404s weren’t actually 404s, but were reported as such. I’m not sure if this is because they’re hosted on GitHub Pages or there’s some other factor at play here. Just wanted to report this so you were aware 💖

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
JustinBeckwithcommented, Feb 15, 2019

Ah, rats. I’ve been there myself - with no control over the backend, your only real option is a client side redirect. One of the meh parts of GitHub pages. @bnb - sadly I don’t think there’s anything I or Paul could do about this one. I would suggest running this with --skip chromedevtools.github.io to just leave those out of the query.

Since there’s nothing really actionable - I’m going to close this out for now. If you think of something else we could do here - let me know! I’m all 👂👂

0reactions
josepharharcommented, Feb 13, 2019

It looks like the gh-pages branch of devtools-protocol makes that 404 response which redirects you to a valid page by running javascript, which explains why making a request to /devtools-protocol/tot/Profiler without running the javascript to redirect it 404s. @paulirish it would seem that you set it up since you’re the only one with commit history on that branch, and I couldn’t find how the gh-pages branch gets generated. I don’t have any ideas for an alternative to the javascript redirect, do you think this is something we should fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix HTTP 404 on Github Pages? - Stack Overflow
I have everything right and the setting page said the site is published, gave me the right url. However it keep giving 404....
Read more >
Sitemap URLs are showing 404 · Issue #31423 - GitHub
I have more than 10k products. the 404 only affect paginated sitemap after page 1. the first one is working fine. https://xxx.xxx/wp-sitemap- ...
Read more >
Getting a 404 error on my page · Discussion #23525 - GitHub
Looking at your account, you already created a repository with the name “hangman” with the same code as the repository you linked in...
Read more >
Unable to download video from www.senate.gov · Issue #31373
To get the correct URL for the other links, first install React Devtools as a Chrome/Firefox extension. Then browse to the above URL's...
Read more >
Using with Chrome Devtools gives a 404 · Issue #14 - GitHub
404. That's an error. The requested URL /devtools/inspector.html?host=localhost:9222&page=1 was not found. Invalid frontend URL? If I visit ...
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