You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
books discover: "In library" filter auto-pages into the 30/min discover rate limit, shows as "Open Library could not be reached" #704
on the books page, audiobooks tab, clicking In library (or Not yet) blows through the per-user discover rate limit and the page shows "Book discovery is unavailable right now. Open Library could not be reached." open library is fine, it's a 429 from seerrng itself.
looks like the library filter is client side. when fewer than 20 items match, the list keeps fetching the next page on its own, up to 10 pages (eh.length<20 ... es<10 in chunk 9505). /discover/books is limited to 30 req / 60 s per user (EXTERNAL_DISCOVER_RATE_LIMIT). with a small library nothing ever reaches 20, so every click is ~10 requests and 2-3 clicks plus the normal page load hits the limit.
my case: bookshelf audiobook catalogue has 1,804 titles, 3 of them in library. none of the 3 are on page 1 of the default sort, so In library pages through all 10 and then everything after that is 429 for up to a minute.
same pattern as #696 (per-card fetches vs the metadata limit), just on the books discover limiter.
ideas: filter availability server side for books, or stop the auto-paging when the response is 429 / count auto-pages against the limit. the error card should probably say rate limited instead of open library.
Version
v3.72.38
Steps to Reproduce
bookshelf configured as the audiobook service, large catalogue, only a few titles with files
books page, audiobooks tab
click In library, then All, then In library again
"Book discovery is unavailable right now. Open Library could not be reached."
GET /api/v1/discover/books?format=audiobook&page=1 now returns 429 with RateLimit-Limit: 30, RateLimit-Remaining: 0
Logs
no server error logged, the 429 comes from the express-rate-limit middleware on /discover/books. response headers:
HTTP/1.1 429 Too Many Requests
RateLimit-Policy: 30;w=60
RateLimit-Limit: 30
RateLimit-Remaining: 0
Activity
github-actions commentedon Nov 19, 2026
Possible duplicate detected
This issue may be a duplicate of the following (detected via semantic similarity + LLM review):
A maintainer will review this. If this is not a duplicate, no action is needed.