[GH-ISSUE #1070] Broken EPUB link in v0.4.2 release (404) #1680

Closed
opened 2026-04-11 08:01:57 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @schwartz1375 on GitHub (Dec 8, 2025).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1070

Description:

In the v0.4.2 release (https://github.com/harvard-edge/cs249r_book/releases/tag/v0.4.2), the EPUB download link points to:

https://mlsysbook.ai/epub

This URL currently returns a 404 Not Found error.

Expected behavior:
The EPUB link in the release assets or documentation should point to a valid, downloadable EPUB file.

Steps to reproduce:

  1. Visit the v0.4.2 release page
  2. Click the EPUB link
  3. Observe that it redirects to a 404 page

Additional context:
This affects users trying to access the EPUB version of the book directly from the release page.

Originally created by @schwartz1375 on GitHub (Dec 8, 2025). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1070 **Description:** In the **v0.4.2 release** ([https://github.com/harvard-edge/cs249r_book/releases/tag/v0.4.2](https://github.com/harvard-edge/cs249r_book/releases/tag/v0.4.2)), the EPUB download link points to: > [https://mlsysbook.ai/epub](https://mlsysbook.ai/epub) This URL currently returns a **404 Not Found** error. **Expected behavior:** The EPUB link in the release assets or documentation should point to a valid, downloadable EPUB file. **Steps to reproduce:** 1. Visit the v0.4.2 release page 2. Click the EPUB link 3. Observe that it redirects to a 404 page **Additional context:** This affects users trying to access the EPUB version of the book directly from the release page.
GiteaMirror added the area: website label 2026-04-11 08:01:57 -05:00
Author
Owner

@profvjreddi commented on GitHub (Dec 8, 2025):

Ah, thank you for letting me know!

I did a recent release, and I think I broke it in that process. I'll fix it later tonight.

Thank you for letting me know!

<!-- gh-comment-id:3627776570 --> @profvjreddi commented on GitHub (Dec 8, 2025): Ah, thank you for letting me know! I did a recent release, and I think I broke it in that process. I'll fix it later tonight. Thank you for letting me know!
Author
Owner

@profvjreddi commented on GitHub (Dec 8, 2025):

Could you please check again @schwartz1375?

I just did a DNS rule update. I moved from Netlify to Cloudflare over the weekend, and in that process, I broke the DNS rule.

<!-- gh-comment-id:3627889569 --> @profvjreddi commented on GitHub (Dec 8, 2025): Could you please check again @schwartz1375? I just did a DNS rule update. I moved from Netlify to Cloudflare over the weekend, and in that process, I broke the DNS rule.
Author
Owner

@schwartz1375 commented on GitHub (Dec 8, 2025):

Thanks for the quick turnaround, @profvjreddi!

I just checked again, and the EPUB link is now working as expected on my end. Everything resolves correctly.

Really appreciate the fast fix and the clarification about the DNS rule update!

<!-- gh-comment-id:3627996181 --> @schwartz1375 commented on GitHub (Dec 8, 2025): Thanks for the quick turnaround, @profvjreddi! I just checked again, and the EPUB link is now working as expected on my end. Everything resolves correctly. Really appreciate the fast fix and the clarification about the DNS rule update!
Author
Owner

@profvjreddi commented on GitHub (Dec 10, 2025):

Fixed in commit 5d5c4c350: The /epub and /pdf redirects in netlify.toml were using relative paths that got caught by the catch-all redirect with force=true, causing a redirect chain to a non-existent path. Changed to direct GitHub Pages URLs.

<!-- gh-comment-id:3637176580 --> @profvjreddi commented on GitHub (Dec 10, 2025): Fixed in commit 5d5c4c350: The /epub and /pdf redirects in netlify.toml were using relative paths that got caught by the catch-all redirect with `force=true`, causing a redirect chain to a non-existent path. Changed to direct GitHub Pages URLs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#1680