Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kobo upstream sync is looping infinitely #236

Open
SergioMendolia opened this issue Dec 13, 2024 · 1 comment
Open

Kobo upstream sync is looping infinitely #236

SergioMendolia opened this issue Dec 13, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@SergioMendolia
Copy link
Collaborator

No description provided.

@SergioMendolia SergioMendolia added the bug Something isn't working label Dec 14, 2024
@ragusa87
Copy link
Contributor

ragusa87 commented Dec 16, 2024

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants