I am having issues with reading relatively large books (20MB) from the browser.
The books are all epubs and can be downloaded without any issue, but when I try to read them I receive this error (or other errors that I cannot replicate at the moment)
Code:
TypeError: parent is undefined
Error at https://read.mysite/:9185:13
Traceback (most recent call last):
ρσ_anonfunc@https://read.mysite/:5944:38
complete_callback@https://read.mysite/:5902:28
on_complete@https://read.mysite/:49625:25
show_failure@https://read.mysite/:49577:22
show_error@https://read.mysite/:49067:40
create_simple_dialog_markup@https://read.mysite/:9185:13
For smaller books I do not have any issue.
The command I use to launch the server is
Code:
/usr/local/bin/calibre-server --port 4142 --userdb /Volumes/nas01/Docs/ebooks/users.sqlite --log /Volumes/nas01/Docs/ebooks/log.out --enable-auth --disable-use-sendfile /Volumes/nas01/Docs/ebooks/
I am using Apache at the moment, but the problem was happening even when I was using only the local network.
This is an extract from the log file if useful.
Code:
Failed to send all data in state: State: write_buf Client: 192.168.0.80:51584 Request: GET /book-file/4918/EPUB/28630754/16750654950/OEBPS/ch16.xhtml?library_id=ebooks&1675066434435 HTTP/1.1 with error: [Errno 32] Broken pipe
Failed to send all data in state: State: write_buf Client: 192.168.0.80:51644 Request: GET /book-file/4918/EPUB/28630754/16750654950/OEBPS/assets/mls3_1612.png?library_id=ebooks&1675066635330 HTTP/1.1 with error: [Errno 32] Broken pipe
Failed to send all data in state: State: write_buf Client: 192.168.0.80:51636 Request: GET /book-file/4918/EPUB/28630754/16750654950/OEBPS/ch14.xhtml?library_id=ebooks&1675066702032 HTTP/1.1 with error: [Errno 32] Broken pipe
Failed to send all data in state: State: write_buf Client: 192.168.0.80:51618 Request: GET /book-file/4918/EPUB/28630754/16750654950/OEBPS/ch10.xhtml?library_id=ebooks&1675067021487 HTTP/1.1 with error: [Errno 32] Broken pipe
192.168.0.80 is the address of the raspberry pi where the apache2 server is. The calibre-server is on a mac on the same network.
Any advice?