View Single Post
Old 10-28-2024, 06:59 PM   #268
ComputerGranny
Junior Member
ComputerGranny began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jul 2013
Device: None
Calibre plug-in for Overdrive Libby difficulties

I am really stumped. I have downloaded the Overdrive Libby plug-in and put it in my Calibre 6.26. I know there are newer versions but this one works for me and when I do upgrades, I frequently wind up with a non-functioning software, so I haven't. When I try to put in the setup code (obtained by clicking on the Sonos button in the Libby app), I get a Calibre unhandled exception error. My Libby is installed on my smartphone. I can't tell what the problem is in the error message. I'm going to paste in the error since I don't see anyway to attach the text file. Thanks in advance for anyone who can help. The loss of the ability to download audiobooks is a really big deal for me.

calibre, version 6.26.0
ERROR: Unhandled exception: <b>ClientConnectionError</b>:&lt;calibre_plugins.overdrive_libby.libby.error s.ClientConnectionError; http_status=0, msg='URLError &lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997)&gt;', error_response='''&gt;

calibre 6.26 embedded-python: True
Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22621')
Python 3.10.1
Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 11, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 11, 0) && KFX metadata reader (from KFX Input) (2, 11, 0) && From KFX (2, 11, 0) && KFX Input (2, 11, 0) && OverDrive Libby (0, 1, 9)
Traceback (most recent call last):
File "urllib\request.py", line 1348, in do_open
File "http\client.py", line 1282, in request
File "http\client.py", line 1328, in _send_request
File "http\client.py", line 1277, in endheaders
File "http\client.py", line 1037, in _send_output
File "http\client.py", line 975, in send
File "http\client.py", line 1454, in connect
File "ssl.py", line 512, in wrap_socket
File "ssl.py", line 1070, in _create
File "ssl.py", line 1341, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.overdrive_libby.libby.client" , line 518, in send_request
File "urllib\request.py", line 519, in open
File "urllib\request.py", line 536, in _open
File "urllib\request.py", line 496, in _call_chain
File "urllib\request.py", line 1391, in https_open
File "urllib\request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997)>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "calibre\gui2\preferences\plugins.py", line 301, in customize_plugin
File "calibre\gui2\preferences\plugins.py", line 378, in modify_plugin
File "calibre\customize\__init__.py", line 191, in do_user_config
File "calibre_plugins.overdrive_libby.__init__", line 104, in save_settings
File "calibre_plugins.overdrive_libby.config", line 947, in save_settings
File "calibre_plugins.overdrive_libby.libby.client" , line 593, in get_chip
File "calibre_plugins.overdrive_libby.libby.client" , line 556, in send_request
calibre_plugins.overdrive_libby.libby.errors.Clien tConnectionError: <calibre_plugins.overdrive_libby.libby.errors.Clie ntConnectionError; http_status=0, msg='URLError <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:997)>', error_response='''>
ComputerGranny is offline   Reply With Quote