You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the server is not behaving like expected.
This is an example of a streaming URL https://[server_domain]/opds/v1.2/books/0BSERXJ3JF6AW/pages/0?zero_based=true
M Komga server is returning
{
"timestamp": "2023-10-20T17:37:04.182+00:00",
"status": 400,
"error": "Bad Request",
"message": "Page number does not exist",
"path": "/opds/v1.2/books/0BSERXJ3JF6AW/pages/0"
}
When it's a PDF. I tried tweaking the URL to https://[server_domain]/opds/v1.2/books/0BSERXJ3JF6AW/pages/1?zero_based=true
and it responds, but the response is not an image. It returns binary data that seems to be a PDF binary becuase the data starts with
I’m using Panels. I’m unsure what the headers are. I initially filed a ticket with them and they were actually the ones that did this troubleshooting. They then referred me to file a ticket with you.
Steps to reproduce
It looks like the server is not behaving like expected.
This is an example of a streaming URL
https://[server_domain]/opds/v1.2/books/0BSERXJ3JF6AW/pages/0?zero_based=true
M Komga server is returning
When it's a PDF. I tried tweaking the URL to
https://[server_domain]/opds/v1.2/books/0BSERXJ3JF6AW/pages/1?zero_based=true
and it responds, but the response is not an image. It returns binary data that seems to be a PDF binary becuase the data starts with
OPDS PSE only accepts
jpeg
,png
andgif
as a response. So even if the page index issue is solved, the returning data is still wrong.Expected behavior
PDF page streaming should return
jpeg
,png
orgif
Actual behavior
Seems to be streaming a PDF binary
Logs
No response
Komga version
1.6.2
Operating system
MacOS
Other details
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: