-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What should I do if I face a 404 page error on local / on openlibrary.org site ? #1864
Comments
404s are just page / resource not found messages, meaning the server cannot find anything that matches whatever URL you requested, it's a perfectly acceptable and informative response code. It could be a bigger problem if a page that really should exist gives a 404, but that depends on the URL. https://openlibrary.org/soijfsofwegfewungsdmfsd should always give a 404, and that is not a problem, the 404 is actually a good, informative, thing. Adding
We could perhaps put more info on our 404 pages to make that clearer, or go for something cute like most big sites: |
@hornc Thanks for your detailed answer :) |
Came here from the FAQs where the title is marked: "Why do I hit a 404-page on local when the page shows up on openlibrary.org site?" which is exactly the issue I have right now; however, is not what this issue #1864 is addressing? I may be completely wrong, but based off the title of this issue, OP seemed to get a 404 on both local and on openlibrary.org. After following all the guides of setting up docker, setting up frontend, adding test data, etc. I not only still can't see any books on dev, but also links to /about, /subjects, etc. (essentially any of the nav links) go to 404 even though https://openlibrary.org is just fine. The exception is "/trending/now" though again no books are shown. I've attached some images of what I see. I wanted to ask in the slack since it could possibly be my machine (M1 macOS), but I know the slack is on an invite only basis. No books / sections rendered (could possibly be related) Thank you |
@liaozhuzhu, I think things are actually working normally for you. If you click on "Science Fiction" on the main page you should see a book called 'Flatland', though the cover may not appear properly: http://localhost:8080/works/OL118420W/Flatland. With respect to the broken links for |
@scottbarnes ah got it. Thank you so much for the reassurance. I was worried because the video attached under installation showed almost no difference from prod for the hosts machine. Are the exact differences from dev and prod noted somewhere in the repo and maybe I missed it? |
I don't think think there is such a list, but this is a good idea. I created #8687 to reflect this. Thanks, @liaozhuzhu! |
Description
The text was updated successfully, but these errors were encountered: