Epub files become corrupted during the upload process.
To Reproduce
Steps to reproduce the behavior:
Upload an epub, fetch metadata, save.
Navigate to the uploaded book in Books view.
Click the read online button, wait untli the new browser tab opens, then see the error mesage: "XML Parsing Error: not well-formed Location: https:///read/749/epub Line Number 1, Column 3:lu ό"
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: Synology NAS / Docker
Calibre-Web version: 0.6.21
Docker container: [LinuxServer]:
Browser: Firefox 123.0
Additional context
Access is via reverse proxy.
The same epub file added to the same database by dragging and dropping into Calibre application is not corrupt, i.e I am confident that te source epub file is valid.
Describe the bug/problem
Epub files become corrupted during the upload process.
To Reproduce
Steps to reproduce the behavior:
Logfile
[2024-02-21 19:33:09,902] ERROR {cps.metadata_provider.amazon:129} 503 Server Error: for url: https://www.amazon.com/s?k=The+Runaway+Jury&i=digital-text&sprefix=The+Runaway+Jury%2Cdigital-text&ref=nb_sb_noss [2024-02-21 19:33:09,902] INFO {scholarly:96} Getting https://scholar.google.com/scholar?hl=en&q=The%20Runaway%20Jury&as_vis=0&as_sdt=0,33 [2024-02-21 19:33:10,464] ERROR {cps.isoLanguages:59} Missing translation for language name: [2024-02-21 19:33:11,841] INFO {httpx:1027} HTTP Request: GET https://scholar.google.com/scholar?hl=en&q=The%20Runaway%20Jury&as_vis=0&as_sdt=0,33 "HTTP/1.1 200 OK" [2024-02-21 19:34:26,509] INFO {cps.web:1207} Serving book: The Runaway Jury - John Grisham
Expected behavior
Uploaded Epub would be available to read.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Access is via reverse proxy. The same epub file added to the same database by dragging and dropping into Calibre application is not corrupt, i.e I am confident that te source epub file is valid.