biblioverse/biblioteca

Kobo upstream sync is looping infinitely

Opened this issue · 1 comments

Kobo upstream sync is looping infinitely

I recently re-introduced the header to paginate the sync process and I unit-tested it only for new books. So we might have an issue when syncing an existing collection. Could be also due to the proxying the request upstream.

Could you please:

  1. Adapt the Controller to see if the issue is still here when you force the Header x-kobo-sync: done
    https://github.com/biblioverse/biblioteca/blob/08c14b74b86712e71b1698a0e16c8e7830ac5eea/src/Controller/Kobo/Api/V1/Library/LibraryController.php#L79C1-L79C148
  2. Provide logs (especially the Header kobo-synctoken that you have for each looping request ? + proxy logs).