[GH-ISSUE #1217] Homepage / -- loads then crashes entire page, when GitHub API call returns 403 #857

Closed
opened 2026-05-07 00:28:13 +02:00 by BreizhHardware · 2 comments

Originally created by @mcint on GitHub (Nov 5, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1217

🐞 Describe the bug
For the https://ntfy.sh homepage, and not on the Notifications / Subscriptions / Message-sending page, for unknown reasons I temporarily exceeded limits api.github.com.

While ntfy.sh requested https://api.github.com/repos/binwiederhier/ntfy, I presume for the live Stars count, the homepage would flash as loaded, then report a total crash. The api requests were receiving 403 reponses, {"message":"API rate limit exceeded for [ip]. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}.

I would be nice the the homepage gracefully degraded and was still usable, when dependencies are returning non-success statuses.

💻 Components impacted
Web homepage, ntfy.sh. Not the web app.

💡 Screenshots and/or logs

🔮 Additional context

Originally created by @mcint on GitHub (Nov 5, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1217 :lady_beetle: **Describe the bug** For the https://ntfy.sh homepage, and not on the Notifications / Subscriptions / Message-sending page, for unknown reasons I temporarily exceeded limits api.github.com. While ntfy.sh requested https://api.github.com/repos/binwiederhier/ntfy, I presume for the live Stars count, the homepage would flash as loaded, then report a total crash. The api requests were receiving 403 reponses, `{"message":"API rate limit exceeded for [ip]. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}`. I would be nice the the homepage gracefully degraded and was still usable, when dependencies are returning non-success statuses. :computer: **Components impacted** Web homepage, ntfy.sh. Not the web app. :bulb: **Screenshots and/or logs** <!-- If applicable, add screenshots or share logs help explain your problem. To get logs from the ... - ntfy server: Enable "log-level: trace" in your server.yml file - Android app: Go to "Settings" -> "Record logs", then eventually "Copy/upload logs" - web app: Press "F12" and find the "Console" window --> :crystal_ball: **Additional context** <!-- Add any other context about the problem here. -->
BreizhHardware 2026-05-07 00:28:13 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@Mause commented on GitHub (Oct 8, 2025):

This is an issue again today, I'd submit a PR to fix, but the code for the ntfy.sh website doesn't seem to be public

<!-- gh-comment-id:3379383224 --> @Mause commented on GitHub (Oct 8, 2025): This is an issue again today, I'd submit a PR to fix, but the code for the ntfy.sh website doesn't seem to be public
Author
Owner

@binwiederhier commented on GitHub (Feb 1, 2026):

This is a per-IP limit, so if you hammer the GitHub API, then the ntfy.sh website will crash. It's not ideal, but not something I'd like to fix right now.

<!-- gh-comment-id:3831307389 --> @binwiederhier commented on GitHub (Feb 1, 2026): This is a per-IP limit, so if _you_ hammer the GitHub API, then the ntfy.sh website will crash. It's not ideal, but not something I'd like to fix right now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#857
No description provided.