-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL: CERTIFICATE_VERIFY_FAILED #97
Comments
I'm experiencing the same issue as well. Tried importing a book today and Calibre does not download the epub version of the book and just imports the .ascm file. ApplicationPaletteChange event ignored During handling of the above exception, another exception occurred: Traceback (most recent call last): Operating system Which version of Calibre are you running? Which version of the ACSM Input plugin are you running? Import type Further information |
Sorry, looks like I missed this bug report. In general, this SSL error always refers to the last URL displayed in the log; in this case it would be the URL to the encrypted EPUB file that it's failing to download. Can you check if you can download that through your browser? When I do that right now I successfully get the file, so either it's an issue specific to your computer(s), or the library has already fixed the issue within the last month. Given that similar issues seem to show up from time to time, I'll try to add a settings parameter to allow completely disabling any SSL validation when I have some more time. |
Please give the latest beta build a try, the issue should be fixed. |
Bug description
I have been successfully using DeACSM on my Windows machine for a few years(thank you!!) but today it stopped converting to epub. I have tried to uninstall and re-install (including deleting C:\Users\Admin\AppData\Roaming\calibre) with the same error. Please see below. Any suggestions on how to fix?
Looking at a similar past issue #6, I did try to visit https://ofs.contentreserve.com/ACSNotificationService.svc/Notify and did see the "Method not allowed" error. Side note, I started a fresh install of calibre/deacsm/dedrm on my Mac and have no issues using the same AdobeID, therefore likely it is not an account or network issue.
ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 7.12 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 9)
calibre 7.12 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 9)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 113.41395348837209 x 113.12164948453608
[0.00] Starting up...
[0.02] Showing splash screen...
[0.17] splash screen shown
[0.17] Initializing db...
[0.19] db initialized
[0.19] Constructing main UI...
[0.73] GUI main window shown
[0.81] main UI initialized...
[0.81] Hiding splash screen
[26.58] splash screen hidden
[26.58] Started up in 26.58 seconds with 127 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\x99g\x85B\`\t\xb894\x8cW\xd5\xdf\xef|6z\xc5\x9f\xff\xe0\x82\x9fk\xa7l%\xf68?\xe0', b'C:\Users\Admin\Downloads\BookName_9780307907035_601668.acsm']
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
File "urllib\request.py", line 1348, in do_open
File "http\client.py", line 1286, in request
File "http\client.py", line 1332, in _send_request
File "http\client.py", line 1281, in endheaders
File "http\client.py", line 1041, in _send_output
File "http\client.py", line 979, in send
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: unable to get local issuer certificate (_ssl.c:1006)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.deacsm.init", line 422, in run
File "calibre_plugins.deacsm.init", line 324, in download
File "C:\Users\Admin\AppData\Roaming\calibre\plugins\DeACSM.zip\libadobe.py", line 267, in sendHTTPRequest_DL2FILE
File "urllib\request.py", line 216, in urlopen
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: unable to get local issuer certificate (_ssl.c:1006)>
DeACSM v0.0.16: Trying to parse file BookName_9780307907035_601668.acsm
DeACSM v0.0.16: Try to fulfill ...
Notifying server ...
Notifying server https://acsepub.contentreserve.com/fulfillment/FulfillmentNotification
Fulfillment notification successful.
Notifying optional server https://ofs.contentreserve.com/ACSNotificationService.svc/Notify
Weird Fulfillment Notification response:
DeACSM v0.0.16: Downloading book ...
DeACSM v0.0.16: Loading book from https://acs.cdn.overdrive.com/ACSStore1/0111-1/93A/5D3/EB/{93A5D3EB-2DF4-4F12-BB68-5BD7983B898A}Fmt410.epub
Operating system
Windows
Which version of Calibre are you running?
7.12
Which version of the ACSM Input plugin are you running?
v0.0.16
Import type
Clicking the 'Add books' button in the menu bar
Further information
No response
The text was updated successfully, but these errors were encountered: