Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 12-02-2021, 03:17 PM   #1
charlweed
Member
charlweed began at the beginning.
 
Posts: 19
Karma: 30
Join Date: Jul 2011
Device: none
Can't download ebooks from ios devices

I have Calibre server 5.32 on Linux (Ubunbtu 20.4), iOS 15.1 and iPadOS 15.1.
I can download ebooks as expected from Windows 10, but not from Apple devices. Apple devices can "Read" books on the server as expected. I suspect this is a SSL/TLS issue that's only for "Download".

When I try to use Chrome or Firefox to download an epub or mobi formatted file, the browser displays an unhelpful "Download Failed" pop-up. When I try to use Safari, instead of a message pop-up, the page changes to the message:
Code:
Failed to load books from calibre library, with error:
Failed to communicate with "/interface-data/books-init?library_id=speculative_fiction&sort=timestamp.desc&1638471540815", network error. 
Is the server running and accessible?
When I examine the output from calibre-server I see many copies of :

Code:
Dec 02 11:02:45 executor calibre-server[280216]: Unhandled exception in state: State: do_ssl_handshake Client: 192.168.0.8:56012 Request: WebSocketConnection
Dec 02 11:02:45 executor calibre-server[280216]: Traceback (most recent call last):
Dec 02 11:02:45 executor calibre-server[280216]:   File "calibre/srv/loop.py", line 621, in tick
Dec 02 11:02:45 executor calibre-server[280216]:   File "calibre/srv/loop.py", line 215, in do_ssl_handshake
Dec 02 11:04:27 executor calibre-server[280216]: OSError: [Errno 0] Error
As far as I can tell, these errors are only printed when I click the "Download" button, NOT when I click the "Read" button.

Any help on this would be appreciated
charlweed is offline   Reply With Quote
Old 12-03-2021, 12:27 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 40,249
Karma: 18000670
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try it without ssl first.
kovidgoyal is offline   Reply With Quote
Old 12-05-2021, 02:26 PM   #3
charlweed
Member
charlweed began at the beginning.
 
Posts: 19
Karma: 30
Join Date: Jul 2011
Device: none
I disabled SSL, and found that downloads works as expected on iPadOS 15.1 :/
charlweed is offline   Reply With Quote
Old 12-05-2021, 07:38 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 40,249
Karma: 18000670
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm, well I dont have any insight to offer, according to those logs the device isnt doing the SSL handshake properly.
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibre-server, error, ssl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iOS app to download all ebooks from Calibre Bhuvanesh Calibre 1 06-26-2019 03:34 AM
ios and android app that syncs between devices Tikker General Discussions 4 02-18-2015 03:59 AM
File manager for Ios devices stonetools Apple Devices 11 10-27-2011 02:50 AM


All times are GMT -4. The time now is 05:53 AM.


MobileRead.com is a privately owned, operated and funded community.