View Single Post
Old 10-18-2021, 04:04 AM   #1
njpig
Zealot
njpig began at the beginning.
 
Posts: 108
Karma: 10
Join Date: Sep 2020
Device: kindle paperwhite3/Oasis2
[Duplicate issue]SSL error when downloading cover

Hi,

How to address this issue when downloading cover.

----------------------------------
1% Got feeds from index page
1% Trying to download cover...
34% Downloading cover from https://www.todayspapers.co.uk/wp-co...l-Times-12.jpg
Failed to download cover
Traceback (most recent call last):
File "mechanize\_urllib2_fork.py", line 1229, in do_open
File "http\client.py", line 1255, in request
File "http\client.py", line 1301, in _send_request
File "http\client.py", line 1250, in endheaders
File "http\client.py", line 1010, in _send_output
File "http\client.py", line 950, in send
File "http\client.py", line 1424, in connect
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\github\src\mycalibre\src\calibre\web\feeds\new s.py", line 1383, in download_cover
File "D:\github\src\mycalibre\src\calibre\web\feeds\new s.py", line 1356, in _download_cover
File "mechanize\_mechanize.py", line 257, in open
File "mechanize\_mechanize.py", line 287, in _mech_open
File "mechanize\_opener.py", line 193, in open
File "mechanize\_urllib2_fork.py", line 425, in _open
File "mechanize\_urllib2_fork.py", line 414, in _call_chain
File "D:\github\src\mycalibre\src\calibre\utils\browser .py", line 29, in https_open
File "mechanize\_urllib2_fork.py", line 1233, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)>

1% Generating masthead...


Thanks, Fei.

Last edited by njpig; 10-18-2021 at 05:15 AM.
njpig is offline   Reply With Quote