View Single Post
Old 06-10-2024, 02:45 PM   #9672
MorbPtact
Junior Member
MorbPtact began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2024
Device: kindle
I've been having ssl issues lately (presumably because of my internet filter, it's fine on different wifi), both in the main calibre program (seen when trying to update plugins, calibre, version 7.12.0
ERROR: Update Check Failed: Unable to reach the plugin index page.

Traceback (most recent call last):
File "calibre\gui2\dialogs\plugin_updater.py", line 464, in __init__
File "calibre\gui2\dialogs\plugin_updater.py", line 85, in read_available_plugins
File "calibre\utils\https.py", line 198, in get_https_resource_securely
File "http\client.py", line 1458, in connect
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1108, in _create
File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1006)
)
and when trying to update stories with FFF (HTTPSConnectionPool(host='www.royalroad.com', port=443): Max retries exceeded with url: /fiction/61762 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

This issue has only applied to calibre (and updating/downgrading makes no difference), and I wanted to try to side-step the issue by changing personal.ini

I tried to add
[overrides]
[www.royalroad.com]
use_ssl_unverified_context:true

but then it returns an error of 'NoneType' object has no attribute 'text'

Is there something I'm doing wrong?
Thanks for all of your help
MorbPtact is offline   Reply With Quote