Skip to content

Book request marked Failed within a minute when ChaptarrNG metadata lookups take ~90 s; no retry follows #703

Done

Description

@aonorgate

Environment

  • SeerrNG: ghcr.io/snapetech/seerrng:main in Docker, updated nightly by Watchtower
    • Latest main at time of writing: 036e9c8 (18 Nov 2026, 06:23 -06:00)
    • Latest release: v3.72.38 (5395a2c, 17 Nov 2026, 16:43 -06:00)
    • Previous release: v3.72.37 (437b40a, 16 Nov 2026, 10:50 -06:00)
    • Failure reproduced on 18 Nov 2026 after upgrading to the 17 Nov build
  • ChaptarrNG: v0.9.1013.0 (ghcr.io/snapetech-org/chaptarrng:latest), Hardcover connected
  • Configured under Settings > Services > Audiobooks & Books
  • Jellyfin for sign-in

What happens

I request a book (Bleak House). The request history shows:

  • 11:42 Approved: "Your request was approved and is waiting to be dispatched."
  • 11:43 Failed: "The connected book service could not accept this request. Check its connection and metadata provider settings, then retry."

It stayed Failed for at least 30 minutes with no retry. The v3.72.38 changelog says "Book requests whose metadata lookup times out now stay approved and retry within minutes", so I expected that behaviour.

What ChaptarrNG logged

Every lookup from SeerrNG returned 200 OK, but only after 87-101 seconds:

Lookup Duration
book/lookup?term=isbn:9780003204148 89.7 s
book/lookup?term=isbn:9780140430639 101.2 s
book/lookup?term=Bleak+House+Charles+Dickens 89.2 s
book/lookup?term=isbn:9780140430639 (second time) 87.6 s

After 11:44:21 ChaptarrNG received no further lookups and no add request from SeerrNG.

The same lookup repeated by hand in ChaptarrNG's UI is cached and returns in 0.1-2 s (for example term=bleak+house: 133 ms). Only the first lookup of a term is slow. In my testing the Goodreads route was just as slow as the Hardcover route (about 90 s to 2 min), so this looks like slowness in the hosted metadata catalog, not a connection problem between SeerrNG and ChaptarrNG. The catalog root answers in 0.4 s.

Why I think SeerrNG's side matters

  • The request fails about a minute after approval. This looks like SeerrNG's own timeout expiring before ChaptarrNG replies. SeerrNG's logs do not state this explicitly, so this is my reading, not confirmed.
  • Each request appears to start roughly 20 lookups (format, alternate dialect and native routes, using isbn: and title terms). With a slow catalog these cannot finish in time.
  • Earlier the same day, on the previous build, bare-ISBN lookups were also slow or failing. After one catalog timeout ChaptarrNG returned instant 503s (1 ms) for a while. That is a ChaptarrNG-side issue, reported separately.
  • SeerrNG's logs also showed SqliteError: datatype mismatch at one point.

Expected

  • A slow lookup leaves the request Approved and retried, as the changelog describes, not Failed.
  • Ideally the lookup timeout is configurable, so a slow catalog does not doom every request.
  • Ideally SeerrNG stops after the first route that returns a result, instead of sending about 20 lookups.

Actual

The request goes to Failed with a generic "could not accept" message and there is no automatic retry.

Notes

  • I am already using ChaptarrNG (not Chaptarr) as the book service.
  • I did not press Retry, and I deleted older failed requests, so the retry queue was clear when this request was made.
  • Drafted with AI assistance (Claude).

Activity

  1. github-actions commented on Nov 18, 2026

    @github-actions

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions