Closed eniad closed 1 year ago
If I recall, the previous user's error was due to their reverse proxy compressing response to KOReader. From the logs attached, the server is responding with valid output, this seems more like something KOReader should be looking into. Kavita is serving valid OPDS Spec XML, hence why the other readers work fine.
I just downloaded KOReader and added my OPDS url and it's working 100%. Are you sure you're following our instructions and using JUST your OPDS url from your user settings?
It's working now! Thank you for the support. I figured it was something I over looked.
I did another read of the instructions at https://wiki.kavitareader.com/en/guides/settings/opds
I had skipped the turning on of the OPDS for two reasons:
I made an assumption that the documentation was out of date. Sorry for that assumption!
I put in a PR for the Wiki: https://github.com/Kareadita/Wiki/pull/27
You were using Tachiyomi and assumed it used OPDS is what I'm hearing lol
Describe the bug
I am attempting to get content from Kavita via KOReader. However, I'm getting a "Cannot get catalog. Server refuses to serve uncompressed content." error. This might be incorrect settings on my part rather than a bug. Can I set Kavita to only serve uncompressed content?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
KOReader should connect to Kavita's OPDS server.
Kavita's ODPS api endpoint works successfully in the Tachiyomi app. I verified both apps are using the same API key in the URL.
KOReader is successfully connected to the Calibre OPDS catalog.
Devices
Additional context
This error was previously reported by andycarlberg in Kavita's repo as Kareadita/Kavita#1199. In that discussion, an issue was also opened in KOReader's repo as koreader/koreader#8971. In that case the error cleared up on its own. I waited a few days and restarted for client and server multiple times. I also turned on debugging in KOReader to see if that was some how the fix in the original bug report. There was no change in behavior. I also can't find the KOReader log file on Android.
In Kavita, the logs are below. Debug logging level provides the same lines as info.
Server and device are on the same local network. Server is not exposed to the internet.
The "Cannot get catalog. Server refuses to serve uncompressed content." is a 406. See KOReader's opdsbrowser.lua line 302.
Internet searches hinted that a 406 error sometimes occurs on pdf > html conversion (although the context was dubious). Removing all pdfs from my Kavita library resulted in no change in behavior.