View Single Post
Old 01-29-2016, 10:52 AM   #1
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: 6,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
SSL Error Connecting on Mac OSX

I've had a couple different FanFicFare users report that they're getting an SSLV3_ALERT_HANDSHAKE_FAILURE error when connecting to the site forums.sufficientvelocity.com. on Mac OSX. I don't see the problem on Windows.

My research suggests that this is likely caused by the SSL library not correctly switching to TLS from SSLv3 (or possibly not using Server Name Indication (SNI)?)

Python 2.7.9 or newer should work from what I've read. On Windows, Calibre is using 2.7.9 already.

Does Calibre carry it's own SSL libraries? Or does it depend on the installed OS libraries? I don't think that this is something that can be addressed in the plugin.

FanFicFare Mail List discussion (hijacked subject, SSL problem starts at Jan 21).

FanFicFare Forum discussion.

I believe that running this from command line should test the problem without needing to install FanFicFare:

Code:
calibre-debug -c "import urllib2 as u2 ; opener = u2.build_opener() ; opener.addheaders = [('User-Agent', '')] ; print opener.open('https://forums.sufficientvelocity.com').read()[:200]"
Any help or suggestions would be appreciated.
JimmXinu is offline   Reply With Quote