Chrome DevTools Links falsely reporting 404 (on GitHub Pages URLs?)
See original GitHub issueJust 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:
- https://chromedevtools.github.io/devtools-protocol/tot/Profiler
- https://chromedevtools.github.io/devtools-protocol/v8/Debugger
- https://chromedevtools.github.io/devtools-protocol/v8/
- https://chromedevtools.github.io/devtools-protocol/v8/Profiler
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:
- Created 5 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 👂👂
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?