Thanks for the prompt reply. The download button is disabled because I already tapped this file and it downloaded. I could see the cache metric in settings reflect it.
I’ve been debugging this issue with the test account, and I’ve found a few things to improve on Panels, but none explain the problem.
The main issue is that the server returns a 403 Forbidden error.
I can navigate through the different folders, but the server forbids downloading the file.
It looked like it was downloaded because Panels is not handling that type of error correctly, and an empty file was created locally. That’s why it wouldn’t open.
I’ve fixed it in Panels to show them as failed downloads. The next version will handle this case correctly.
It isn’t much else we can do on our side because the server is rejecting the request.
I’ve double-checked that we are sending the auth header correctly, and we are (otherwise that would affect everyone else). And I’ve tested the download with a few other servers without any problem.
Are you able to get some server-side logs maybe? I’m happy to provide all my request logs if you need them.
Let me know if we can do anything else to clarify what’s going on.
I’ll look into server logs to provide some.
As a side note: I’m able to select a file and “copy to iPhone”. I can then go to the local library and read the file so it’s definitely downloaded this way!
Let me check if the credentials I sent allow for Downloading books. This might explain that
I assume this was only disabled on the test account, right?
Yep, I know what’s going on then. Recently, we fixed a bug related to OPDS download files that prevented them from opening when the server didn’t support streaming.
Calibre doesn’t have it, but Komga and Kavita do. We usually use those and haven’t noticed that bug on other servers like Calibre.
The next Panels version will fix this issue, and OPDS downloads will work as expected.
In the meantime, please use the “Copy to my iPhone” option. We will release the next version probably next week.