janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
11.99k stars 1.28k forks source link

Kobo says sync failed, but no errors in server #3046

Closed anthonyma94 closed 1 month ago

anthonyma94 commented 1 month ago

Short Notice from the maintainer

After 6 years of more or less intensive programming on Calibre-Web, I need a break. The last few months, maintaining Calibre-Web has felt more like work than a hobby. I felt pressured and teased by people to solve "their" problems and merge PRs for "their" Calibre-Web. I have turned off all notifications from Github/Discord and will now concentrate undisturbed on the development of “my” Calibre-Web over the next few weeks/months.
I will look into the issues and maybe also the PRs from time to time, but don't expect a quick response from me.

Please also have a look at our Contributing Guidelines

Describe the bug/problem

I have followed the instructions to set up Kobo sync with my Libra Colour 7, but I always get an error message on the Kobo saying sync failed. Navigating to https://mydomain.com/kobo/mytoken/v1/library/sync returns a valid JSON object of what looks to be sync data, while navigating to https://mydomain.com/kobo/mytoken returns an empty JSON object. I have tried both my reverse proxy domain (https://mydomain.com) and the raw IP (http://192.168.x.x:8083) with the same results. I have also tried checking and unchecking Proxy unknown requests to Kobo Store, and setting the external port to 8083, 443, and 80.

Kobo settings:

[ApplicationPreferences]
CurrentLocale=en
EarliestChangeLog=4.39.22443
ExportDirectories=@Variant(\0\0\0\b\0\0\0\x2\0\0\0\x10\0N\0o\0t\0\x65\0\x62\0o\0o\0k\0\0\0\n\0\0\0$\0\x45\0x\0p\0o\0r\0t\0\x65\0\x64\0 \0N\0o\0t\0\x65\0\x62\0o\0o\0k\0s\0\0\0\x16\0\x41\0n\0n\0o\0t\0\x61\0t\0i\0o\0n\0s\0\0\0\n\0\0\0(\0\x45\0x\0p\0o\0r\0t\0\x65\0\x64\0 \0\x41\0n\0n\0o\0t\0\x61\0t\0i\0o\0n\0s)
HomePageViewVisitCount=20
LastAffiliateSyncTime=@Variant(\0\0\0\x10\0%\x8b\x16\x4\x88\xd8\xb5\x2)
LastFTEStep=LOGIN
LastLibrarySorter_author_filterByAuthor%28Leigh%20Bardugo%29=sortByNewest()
LastLibrarySorter_books_filterByAllItems%28%29=sortByNewest()
LastLibrarySorter_notebooks_filterByNotebooks%28%29=sortByNewest()
LastLibrarySubFilter_author_filterByAuthor%28Leigh%20Bardugo%29=
LastLibrarySubFilter_books_filterByAllItems%28%29=
LastLibrarySubFilter_notebooks_filterByNotebooks%28%29=
LastLibraryTab=Books
LastLibraryViewType_author=viewBy2x3Grid()
LastLibraryViewType_books=viewBy2x3Grid()
LastLibraryViewType_notebooks=viewBy3x4NotebookGrid()
LastLibraryViewType_series=viewBy2x3Grid()
LastLibraryViewType_seriesList=viewBy2x3Grid()
LastLibraryViewType_shelf=viewBy2x3ShelfGrid()
LastMostPopularSyncTime=@Variant(\0\0\0\x10\0%\x8b\x16\x4\x91\x9c\xc0\x2)
LastStoreTab=OverDrive
LastSyncTime=@Variant(\0\0\0\x10\0%\x8b\x16\x4\xef\xeeJ\x2)
LastTopPicksSyncTime=@Variant(\0\0\0\x10\0%\x8b\x16\x4\x91\x9a\x4\x2)
LastUpdateCheckTime=@Variant(\0\0\0\x10\0%\x8b\x16\x5\x11\x96Z\x2)
LibraryViewVisitCount=6
MarkAsFinishedLastShown=@Variant(\0\0\0\x10\0%\x8b\x16\x3\xd8q\xa1\xff)
MarkAsUnreadLastShown=@Variant(\0\0\0\x10\0%\x8b\x16\x3\xd8q\xa6\xff)
MostRecentReadID=3704b11a-e153-487d-a49c-c0e66469d5c9
QuickTourWidgetShown=true
ReadABookShown2=true
SignInTime=@Variant(\0\0\0\x10\0%\x8b\x16\x3\xb5\xac\x17\xff)
SmartLink_%05=0
SmartLink_%07=3
StylusTipWarning=true
StylusUsageDetected=true
SwipeDialogShown=true
WifiRegulatoryDomain=CA
firstRunDate=@Variant(\0\0\0\x10\0%\x8b\x16\x4\x88(\x1\x2)
hasSyncedExistingRelatedItems=true
lastPlugTime=@Variant(\0\0\0\x10\0%\x8b\x16\x4\xb1\xf8\xc5\x2)
syncOnNextBoot=false

[Browser]
cookies=@Invalid()

[DialogSettings]
ReleaseNotesShown=false
ReturningReaderDialogShown=true

[OneStoreServices]
account_page=https://www.kobo.com/account/settings
account_page_rakuten=https://my.rakuten.co.jp/
api_endpoint=https://mydomain.com/kobo/mytoken
autocomplete=https://storeapi.kobo.com/v1/products/autocomplete
book=https://storeapi.kobo.com/v1/products/books/{ProductId}
book_detail_page=https://www.kobo.com/{region}/{language}/ebook/{slug}
book_detail_page_rakuten=http://books.rakuten.co.jp/rk/{crossrevisionid}
book_landing_page=https://www.kobo.com/ebooks
categories=https://storeapi.kobo.com/v1/categories
category=https://storeapi.kobo.com/v1/categories/{CategoryId}
category_products=https://storeapi.kobo.com/v1/categories/{CategoryId}/products
dictionary_host=https://ereaderfiles.kobo.com
dropbox_link_account_poll=https://authorize.kobo.com/{region}/{language}/LinkDropbox
eula_page="https://www.kobo.com/termsofuse?style=onestore"
featured_list=https://storeapi.kobo.com/v1/products/featured/{FeaturedListId}
featured_lists=https://storeapi.kobo.com/v1/products/featured
feedback=
fte_feedback=https://storeapi.kobo.com/v1/products/ftefeedback
googledrive_link_account_start=https://authorize.kobo.com/{region}/{language}/linkcloudstorage/provider/google_drive
image_host=https://calibre-web.anthonyma.ca
image_url_quality_template=https://mydomain.com/kobo/mytoken/{ImageId}/{width}/{height}/{Quality}/isGreyscale/image.jpg
image_url_template=https://mydomain.com/kobo/mytoken/{ImageId}/{width}/{height}/false/image.jpg
kobo_audiobooks_credit_redemption=True
kobo_audiobooks_enabled=True
kobo_dropbox_link_account_enabled=True
kobo_googledrive_link_account_enabled=True
kobo_nativeborrow_enabled=True
kobo_privacyCentre_url=https://www.kobo.com/privacy
kobo_redeem_enabled=True
kobo_subscriptions_enabled=True
kobo_superpoints_enabled=True
kobo_wishlist_enabled=True
love_data="@ByteArray(\0\0\0\x1\0\0\0\x10\0\x42\0\x65\0n\0\x65\0\x66\0i\0t\0s\0\0\0\b\0\0\0\0\x2\0\0\0\x16\0K\0o\0\x62\0o\0L\0o\0v\0\x65\0V\0I\0P\0\0\0\b\0\0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\0\x44\0i\0s\0\x63\0o\0u\0n\0t\0R\0\x61\0t\0\x65\0\0\0\x6\0?\xb9\x99\x99\x99\x99\x99\x9a\0\0\0\x18\0\x43\0u\0r\0r\0\x65\0n\0\x63\0y\0T\0y\0p\0\x65\0\0\0\n\0\0\0\0\x6\0\x43\0\x41\0\x44\0\0\0\"\0\x43\0u\0r\0r\0\x65\0n\0\x63\0y\0S\0p\0\x65\0n\0\x64\0R\0\x61\0t\0\x65\0\0\0\x6\0@$\0\0\0\0\0\0\0\0\0\x1a\0K\0o\0\x62\0o\0L\0o\0v\0\x65\0\x42\0\x61\0s\0i\0\x63\0\0\0\b\0\0\0\0\x6\0\0\0\x18\0U\0p\0g\0r\0\x61\0\x64\0\x65\0L\0\x65\0v\0\x65\0l\0\0\0\n\0\0\0\0\x16\0K\0o\0\x62\0o\0L\0o\0v\0\x65\0V\0I\0P\0\0\0\x1a\0P\0o\0i\0n\0t\0\x45\0\x61\0r\0n\0R\0\x61\0t\0\x65\0\0\0\x6\0@Y\0\0\0\0\0\0\0\0\0,\0M\0i\0n\0i\0m\0u\0m\0P\0o\0i\0n\0t\0R\0\x65\0\x64\0\x65\0m\0p\0t\0i\0o\0n\0\0\0\x6\0@\xa2\xc0\0\0\0\0\0\0\0\0\x1e\0M\0\x65\0m\0\x62\0\x65\0r\0s\0h\0i\0p\0L\0\x65\0v\0\x65\0l\0\0\0\n\0\0\0\0\x1a\0K\0o\0\x62\0o\0L\0o\0v\0\x65\0\x42\0\x61\0s\0i\0\x63\0\0\0\x18\0\x43\0u\0r\0r\0\x65\0n\0\x63\0y\0T\0y\0p\0\x65\0\0\0\n\0\0\0\0\x6\0\x43\0\x41\0\x44\0\0\0\"\0\x43\0u\0r\0r\0\x65\0n\0\x63\0y\0S\0p\0\x65\0n\0\x64\0R\0\x61\0t\0\x65\0\0\0\x6\0@$\0\0\0\0\0\0)"
love_points_redemption_page="https://www.kobo.com/{region}/{language}/KoboSuperPointsRedemption?productId={ProductId}"
oauth_host=https://oauth.kobo.com
password_retrieval_page=https://www.kobo.com/passwordretrieval.html
pocket_link_account_start=https://authorize.kobo.com/{region}/{language}/linkpocket
privacy_page="https://www.kobo.com/privacypolicy?style=onestore"
product_recommendations=https://storeapi.kobo.com/v1/products/{ProductId}/recommendations
product_reviews=https://storeapi.kobo.com/v1/products/{ProductIds}/reviews
purchase_buy_templated=https://www.kobo.com/{region}/{language}/checkoutoption/{ProductId}
reading_services_host=https://readingservices.kobo.com
registration_page="https://authorize.kobo.com/signup?returnUrl=http://kobo.com/"
review=https://storeapi.kobo.com/v1/products/reviews/{ReviewId}
review_sentiment=https://storeapi.kobo.com/v1/products/reviews/{ReviewId}/sentiment/{Sentiment}
sign_in_page=https://auth.kobobooks.com/ActivateOnWeb
social_host=https://social.kobobooks.com
store_home=www.kobo.com/{region}/{language}
store_host=www.kobo.com
store_search="https://www.kobo.com/{region}/{language}/Search?Query={query}"
subs_landing_page=https://www.kobo.com/{region}/{language}/plus
subs_management_page=https://www.kobo.com/{region}/{language}/account/subscriptions
subs_plans_page=https://www.kobo.com/{region}/{language}/plus/plans
subs_purchase_buy_templated=https://www.kobo.com/{region}/{language}/Checkoutoption/{ProductId}/{TierId}
subscription_publisher_price_page=
taste_profile=https://storeapi.kobo.com/v1/products/tasteprofile
user_ratings=https://storeapi.kobo.com/v1/user/ratings
user_recommendations=https://storeapi.kobo.com/v1/user/recommendations
user_reviews=https://storeapi.kobo.com/v1/user/reviews
userguide_host=https://ereaderfiles.kobo.com

[OverDrive]
overdrive_account=https://auth.overdrive.com/account
overdrive_library=https://{libraryKey}.auth.overdrive.com/library
overdrive_library_finder_host=https://libraryfinder.api.overdrive.com
overdrive_thunder_host=https://thunder.api.overdrive.com

[PowerOptions]
AutoColorEnabled=true
FullscreenCoverStretch=false

[Reading]
DarkMode=true

To Reproduce

Steps to reproduce the behavior:

  1. Replace api_endpoint with one given from calibre-web
  2. Press sync
  3. See error

Logfile

[2024-05-07 20:15:06,587] DEBUG {cps.kobo:963} Unimplemented User Request received: https://mydomain.com/kobo/mytoken/v1/user/profile (request is forwarded to kobo if configured)
[2024-05-07 20:15:45,444] DEBUG {cps.ub:84} Found stored session: 4e1a94143505e5fc157708ceb68d935009ed74f2516e90fdba58b6579894cc5c6c6da1e44dbe5819ea174e8af25746526be7981952ac865e71c4400945cfb8a3
[2024-05-07 20:15:45,444]  INFO {cps.kobo:1042} Init
[2024-05-07 20:15:45,556] DEBUG {cps.kobo:105} Content: b'{"Resources":{"productsv2":"https://storeapi.kobo.com/v2/products","personalizedrecommendations":"https://storeapi.kobo.com/v2/users/personalizedrecommendations","user_wishlist":"https://storeapi.kobo.com/v1/user/wishlist","user_platform":"https://storeapi.kobo.com/v1/user/platform","user_profile":"https://storeapi.kobo.com/v1/user/profile","get_download_link":"https://storeapi.kobo.com/v1/library/downloadlink","get_download_keys":"https://storeapi.kobo.com/v1/library/downloadkeys","checkout_borrowed_book":"https://storeapi.kobo.com/v1/library/borrow","library_sync":"https://storeapi.kobo.com/v1/library/sync","library_search":"https://storeapi.kobo.com/v1/library/search","library_items":"https://storeapi.kobo.com/v1/user/library","add_entitlement":"https://storeapi.kobo.com/v1/library/{RevisionIds}","delete_entitlement":"https://storeapi.kobo.com/v1/library/{Ids}","tags":"https://storeapi.kobo.com/v1/library/tags","autocomplete":"https://storeapi.kobo.com/v1/products/autocomplete","user_reviews":"https://storeapi.kobo.com/v1/user/reviews","user_ratings":"https://storeapi.kobo.com/v1/user/ratings","user_recommendations":"https://storeapi.kobo.com/v1/user/recommendations","taste_profile":"https://storeapi.kobo.com/v1/products/tasteprofile","fte_feedback":"https://storeapi.kobo.com/v1/products/ftefeedback","shelfie_recommendations":"https://storeapi.kobo.com/v1/user/recommendations/shelfie","featured_lists":"https://storeapi.kobo.com/v1/products/featured","daily_deal":"https://storeapi.kobo.com/v1/products/dailydeal","category":"https://storeapi.kobo.com/v1/categories/{CategoryId}","browse_history":"https://storeapi.kobo.com/v1/user/browsehistory","notifications_registration_issue":"https://storeapi.kobo.com/v1/notifications/registration","exchange_auth":"https://storeapi.kobo.com/v1/auth/exchange","rakuten_token_exchange":"https://storeapi.kobo.com/v1/auth/rakuten_token_exchange","device_auth":"https://storeapi.kobo.com/v1/auth/device","device_refresh":"https://storeapi.kobo.com/v1/auth/refresh","add_device":"https://storeapi.kobo.com/v1/user/add-device","get_tests_request":"https://storeapi.kobo.com/v1/analytics/gettests","post_analytics_event":"https://storeapi.kobo.com/v1/analytics/event","user_loyalty_benefits":"https://storeapi.kobo.com/v1/user/loyalty/benefits","reading_state":"https://storeapi.kobo.com/v1/library/{Ids}/state","library_metadata":"https://storeapi.kobo.com/v1/library/{Ids}/metadata","update_accessibility_to_preview":"https://storeapi.kobo.com/v1/library/{EntitlementIds}/preview","rename_tag":"https://storeapi.kobo.com/v1/library/tags/{TagId}","delete_tag":"https://storeapi.kobo.com/v1/library/tags/{TagId}","quickbuy_create":"https://storeapi.kobo.com/v1/store/quickbuy/purchase","audiobook_purchase_withcredit":"https://storeapi.kobo.com/v1/store/audiobook/{Id}","product_reviews":"https://storeapi.kobo.com/v1/products/{ProductIds}/reviews","review":"https://storeapi.kobo.com/v1/products/reviews/{ReviewId}","product_recommendations":"https://storeapi.kobo.com/v1/products/{ProductId}/recommendations","product_nextread":"https://storeapi.kobo.com/v1/products/{ProductIds}/nextread","product_prices":"https://storeapi.kobo.com/v1/products/{ProductIds}/prices","book":"https://storeapi.kobo.com/v1/products/books/{ProductId}","audiobook":"https://storeapi.kobo.com/v1/products/audiobooks/{ProductId}","book_subscription":"https://storeapi.kobo.com/v1/products/books/subscriptions","related_items":"https://storeapi.kobo.com/v1/products/{Id}/related","featured_list":"https://storeapi.kobo.com/v1/products/featured/{FeaturedListId}","category_featured_lists":"https://storeapi.kobo.com/v1/categories/{CategoryId}/featured","category_products":"https://storeapi.kobo.com/v1/categories/{CategoryId}/products","library_prices":"https://storeapi.kobo.com/v1/user/library/previews/prices","library_book":"https://storeapi.kobo.com/v1/user/library/books/{LibraryItemId}","tag_items":"https://storeapi.kobo.com/v1/library/tags/{TagId}/Items","quickbuy_checkout":"https://storeapi.kobo.com/v1/store/quickbuy/{PurchaseId}/checkout","rating":"https://storeapi.kobo.com/v1/products/{ProductId}/rating/{Rating}","authorproduct_recommendations":"https://storeapi.kobo.com/v1/products/books/authors/recommendations","external_book":"https://storeapi.kobo.com/v1/products/books/external/{Ids}","remaining_book_series":"https://storeapi.kobo.com/v1/products/books/series/{SeriesId}","audiobook_preview":"https://storeapi.kobo.com/v1/products/audiobooks/{Id}/preview","content_access_book":"https://storeapi.kobo.com/v1/products/books/{ProductId}/access","delete_tag_items":"https://storeapi.kobo.com/v1/library/tags/{TagId}/items/delete","review_sentiment":"https://storeapi.kobo.com/v1/products/reviews/{ReviewId}/sentiment/{Sentiment}","products":"https://storeapi.kobo.com/v1/products","categories":"https://storeapi.kobo.com/v1/categories","funnel_metrics":"https://storeapi.kobo.com/v1/funnelmetrics","deals":"https://storeapi.kobo.com/v1/deals","configuration_data":"https://storeapi.kobo.com/v1/configuration","assets":"https://storeapi.kobo.com/v1/assets","affiliaterequest":"https://storeapi.kobo.com/v1/affiliate","notebooks":"https://storeapi.kobo.com/api/internal/notebooks","image_host":"//cdn.kobo.com/book-images/","store_host":"www.kobo.com","store_home":"www.kobo.com/{region}/{language}","social_authorization_host":"https://social.kobobooks.com:8443","social_host":"https://social.kobobooks.com","reading_services_host":"https://readingservices.kobo.com","discovery_host":"https://discovery.kobobooks.com","oauth_host":"https://oauth.kobo.com","eula_page":"https://www.kobo.com/termsofuse?style=onestore","password_retrieval_page":"https://www.kobo.com/passwordretrieval.html","store_search":"https://www.kobo.com/{region}/{language}/Search?Query={query}","store_top50":"https://www.kobo.com/{region}/{language}/ebooks/Top","store_newreleases":"https://www.kobo.com/{region}/{language}/List/new-releases/961XUjtsU0qxkFItWOutGA","privacy_page":"https://www.kobo.com/privacypolicy?style=onestore","terms_of_sale_page":"https://authorize.kobo.com/{region}/{language}/terms/termsofsale","book_detail_page":"https://www.kobo.com/{region}/{language}/ebook/{slug}","book_detail_page_rakuten":"http://books.rakuten.co.jp/rk/{crossrevisionid}","book_landing_page":"https://www.kobo.com/ebooks","magazine_landing_page":"https://www.kobo.com/emagazines","purchase_buy":"https://www.kobo.com/checkoutoption/","purchase_buy_templated":"https://www.kobo.com/{region}/{language}/checkoutoption/{ProductId}","love_points_redemption_page":"https://www.kobo.com/{region}/{language}/KoboSuperPointsRedemption?productId={ProductId}","categories_page":"https://www.kobo.com/ebooks/categories","redeem_interstitial_page":"https://www.kobo.com","love_dashboard_page":"https://www.kobo.com/{region}/{language}/kobosuperpoints","help_page":"http://www.kobo.com/help","image_url_template":"https://cdn.kobo.com/book-images/{ImageId}/{Width}/{Height}/false/image.jpg","image_url_quality_template":"https://cdn.kobo.com/book-images/{ImageId}/{Width}/{Height}/{Quality}/{IsGreyscale}/image.jpg","overdrive_account":"https://auth.overdrive.com/account","overdrive_library":"https://{libraryKey}.auth.overdrive.com/library","overdrive_library_finder_host":"https://libraryfinder.api.overdrive.com","overdrive_thunder_host":"https://thunder.api.overdrive.com","customer_care_live_chat":"https://v2.zopim.com/widget/livechat.html?key=Y6gwUmnu4OATxN3Tli4Av9bYN319BTdO","audiobook_landing_page":"https://www.kobo.com/{region}/{language}/audiobooks","userguide_host":"https://ereaderfiles.kobo.com","dictionary_host":"https://ereaderfiles.kobo.com","audiobook_detail_page":"https://www.kobo.com/{region}/{language}/audiobook/{slug}","wishlist_page":"https://www.kobo.com/{region}/{language}/account/wishlist","audiobook_subscription_orange_deal_inclusion_url":"https://authorize.kobo.com/inclusion","giftcard_redeem_url":"https://www.kobo.com/{storefront}/{language}/redeem","giftcard_epd_redeem_url":"https://www.kobo.com/{storefront}/{language}/redeem-ereader","account_page":"https://www.kobo.com/account/settings","account_page_rakuten":"https://my.rakuten.co.jp/","pocket_link_account_start":"https://authorize.kobo.com/{region}/{language}/linkpocket","client_authd_referral":"https://authorize.kobo.com/api/AuthenticatedReferral/client/v1/getLink","dropbox_link_account_start":"https://authorize.kobo.com/LinkDropbox/start","dropbox_link_account_poll":"https://authorize.kobo.com/{region}/{language}/LinkDropbox","googledrive_link_account_start":"https://authorize.kobo.com/{region}/{language}/linkcloudstorage/provider/google_drive","subs_management_page":"https://www.kobo.com/{region}/{language}/account/subscriptions","subs_landing_page":"https://www.kobo.com/{region}/{language}/plus","subs_purchase_buy_templated":"https://www.kobo.com/{region}/{language}/Checkoutoption/{ProductId}/{TierId}","subs_plans_page":"https://www.kobo.com/{region}/{language}/plus/plans","sign_in_page":"https://auth.kobobooks.com/ActivateOnWeb","more_sign_in_options":"https://authorize.kobo.com/signin?returnUrl=http://kobo.com/#allProviders","registration_page":"https://authorize.kobo.com/signup?returnUrl=http://kobo.com/","facebook_sso_page":"https://authorize.kobo.com/signin/provider/Facebook/login?returnUrl=http://kobo.com/","provider_external_sign_in_page":"https://authorize.kobo.com/ExternalSignIn/{providerName}?returnUrl=http://kobo.com/","free_books_page":{"EN":"https://www.kobo.com/{region}/{language}/p/free-ebooks","FR":"https://www.kobo.com/{region}/{language}/p/livres-gratuits","IT":"https://www.kobo.com/{region}/{language}/p/libri-gratuiti","NL":"https://www.kobo.com/{region}/{language}/List/bekijk-het-overzicht-van-gratis-ebooks/QpkkVWnUw8sxmgjSlCbJRg","PT":"https://www.kobo.com/{region}/{language}/p/livros-gratis"},"blackstone_header":{"key":"x-amz-request-payer","value":"requester"},"use_one_store":"True","kobo_superpoints_enabled":"True","kobo_subscriptions_enabled":"True","kobo_onestorelibrary_enabled":"False","kobo_nativeborrow_enabled":"True","kobo_audiobooks_enabled":"True","kobo_audiobooks_subscriptions_enabled":"False","kobo_audiobooks_credit_redemption":"True","kobo_audiobooks_orange_deal_enabled":"False","kobo_wishlist_enabled":"True","kobo_shelfie_enabled":"False","kobo_redeem_enabled":"True","kobo_dropbox_link_account_enabled":"True","kobo_display_price":"True","kobo_google_tax":"False","kobo_googledrive_link_account_enabled":"True","kobo_onedrive_link_account_enabled":"False","kobo_privacyCentre_url":"https://www.kobo.com/privacy","gpb_flow_enabled":"False","ppx_purchasing_url":"https://purchasing.kobo.com"}}'
[2024-05-07 20:15:45,556] DEBUG {cps.kobo:106} StatusCode: 200
[2024-05-07 20:15:45,571] DEBUG {cps.kobo:963} Unimplemented User Request received: https://mydomain.com/kobo/mytoken/v1/user/profile (request is forwarded to kobo if configured)
[2024-05-07 20:15:45,848] DEBUG {cps.kobo:1003} Unimplemented Products Request received: https://mydomain.com/kobo/mytoken/v1/products/books/subscriptions (request is forwarded to kobo if configured)
[2024-05-07 20:15:45,984] DEBUG {cps.kobo:1003} Unimplemented Products Request received: https://mydomain.com/kobo/mytoken/v1/deals (request is forwarded to kobo if configured)
[2024-05-07 20:15:46,192] DEBUG {cps.kobo:105} Content: b'{"Result":"Success","TestKey":"cc70a619-75ab-4446-9aad-282142da0da2","Tests":{}}'
[2024-05-07 20:15:46,193] DEBUG {cps.kobo:106} StatusCode: 200
[2024-05-07 20:15:46,212] DEBUG {cps.ub:84} Found stored session: 4e1a94143505e5fc157708ceb68d935009ed74f2516e90fdba58b6579894cc5c6c6da1e44dbe5819ea174e8af25746526be7981952ac865e71c4400945cfb8a3
[2024-05-07 20:15:46,212]  INFO {cps.kobo:143} Kobo library sync request received.
[2024-05-07 20:15:46,212] DEBUG {cps.kobo:144} SyncToken: 0001-01-01 00:00:00,0001-01-01 00:00:00,0001-01-01 00:00:00,0001-01-01 00:00:00,0001-01-01 00:00:00,eyJ0eXAiOjEsInZlciI6bnVsbCwicHR5cCI6IlN5bmNUb2tlbiJ9.eyJJbnRlcm5hbFN5bmNUb2tlbiI6ImV5SjBlWEFpT2pFc0luWmxjaUk2SW5ZeUlpd2ljSFI1Y0NJNklsTjVibU5VYjJ0bGJpSjkuZXlKVGRXSnpZM0pwY0hScGIyNUZiblJwZEd4bGJXVnVkSE1pT25zaVNYTkpibWwwYVdGc0lqcHVkV3hzTENKSFpXNWxjbUYwYVc5dVZHbHRaU0k2Ym5Wc2JDd2lWR2x0Wlh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QWlPaUl5TURJMExUQTFMVEE0VkRBd09qRXdPakkxV2lJc0lrTm9aV05yVTNWdElqcHVkV3hzTENKSlpDSTZJakF3TURBd01EQXdMVEF3TURBdE1EQXdNQzB3TURBd0xUQXdNREF3TURBd01EQXdNQ0o5TENKVVlXZHpJanA3SWtselNXNXBkR2xoYkNJNmJuVnNiQ3dpUjJWdVpYSmhkR2x2YmxScGJXVWlPbTUxYkd3c0lsUnBiV1Z6ZEdGdGNDSTZJakl3TWpRdE1EVXRNRGhVTURBNk1UQTZNalZhSWl3aVEyaGxZMnRUZFcwaU9tNTFiR3dzSWtsa0lqb2lNREF3TURBd01EQXRNREF3TUMwd01EQXdMVEF3TURBdE1EQXdNREF3TURBd01EQXdJbjBzSWtSbGJHVjBaV1JVWVdkeklqcDdJa2x6U1c1cGRHbGhiQ0k2Ym5Wc2JDd2lSMlZ1WlhKaGRHbHZibFJwYldVaU9tNTFiR3dzSWxScGJXVnpkR0Z0Y0NJNklqRTVNREF0TURFdE1ERlVNREE2TURBNk1EQmFJaXdpUTJobFkydFRkVzBpT201MWJHd3NJa2xrSWpvaU1EQXdNREF3TURBdE1EQXdNQzB3TURBd0xUQXdNREF0TURBd01EQXdNREF3TURBd0luMHNJbEJ5YjJSMVkzUk5aWFJoWkdGMFlTSTZleUpKYzBsdWFYUnBZV3dpT201MWJHd3NJa2RsYm1WeVlYUnBiMjVVYVcxbElqcHVkV3hzTENKVWFXMWxjM1JoYlhBaU9pSXlNREkwTFRBMUxUQTRWREF3T2pFd09qSTFXaUlzSWtOb1pXTnJVM1Z0SWpwdWRXeHNMQ0pKWkNJNklqQXdNREF3TURBd0xUQXdNREF0TURBd01DMHdNREF3TFRBd01EQXdNREF3TURBd01DSjlmUSIsIklzQ29udGludWF0aW9uVG9rZW4iOmZhbHNlfQ
[2024-05-07 20:15:46,212] DEBUG {cps.kobo:145} Download link format https://mydomain.com/kobo/mytoken/download/%5Bbookid%5D/%5Bbookformat%5D
[2024-05-07 20:15:46,218] DEBUG {cps.kobo:204} Books to Sync: 0
[2024-05-07 20:15:46,222] DEBUG {cps.kobo:258} Remaining books to Sync: 0
[2024-05-07 20:15:46,357] DEBUG {cps.kobo:105} Content: b'[]'
[2024-05-07 20:15:46,357] DEBUG {cps.kobo:106} StatusCode: 200

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here. [e.g. access via reverse proxy, database background sync, special database location]

rootiam commented 1 month ago

@anthonyma94 How did you resolve this? I have the exact same behaviour and already tried restarting the docker container, resetup the kobo, new sync token, force complete resync. My debug logs are looking like yours too.