View Single Post
Old 02-21-2015, 11:04 AM   #3746
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by tricklem View Post
pic Review (Newest First)
Today 01:42 AM
PeterT You don't have the most current Microsoft Root certificate update installed. Please see http://support.microsoft.com/kb/931125 and install the Microsoft Update listed for YOUR O/S.

So I went to and did this and I am back to getting this error:

Spoiler:

Status
Title
Author
Comment
URL
Error
La Cantante
tufano79
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
https://fictionpad.com/author/tufano79/stories/823
Hmmm. I'm seeing this error for the first time now. (We lumped you in the same category as another recent user who had a similar problem without researching your problem very deeply. Sorry about that.)

It happens actually on s3.amazonaws.com urls. I can see it when I try to fetch that URL with a simple urllib2 call in Python 2.7.9 CLI, too.

It looks like this is a bug in OpenSSL's cert chain checking--or possibly just Python 2.7.9's use of it. Either way, it's up stream of both FFDL and calibre.

There is a 'monkeypatch' that can be used to bypass the issue by disabling the cert chain check. For minimal impact, I've added it as a personal.ini option that will only effect the background jobs.

With the attached version try this in your personal.ini:

Code:
[fictionpad.com]
use_ssl_unverified_context:true
IMPORTANT NOTE -- The first version of calibre 2.20.0 released had a bug that prevented some plugins (including FFDL) from saving changes to their configuration to the db.

Kovid made a fixed update and put it online but did not change the version number. So I'm not sure how you're supposed to know if you need the update or not--but I needed it.

I strongly suggest that if you updated to calibre 2.20 before the time of this posting you should download and install it again.

Last edited by JimmXinu; 02-23-2015 at 11:08 PM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline