
Are you sure this is the issue? Or is the https cert different from SSL cert?

Code: Select all
#!/usr/bin/python
import urllib2
x = urllib2.urlopen("https://YOUR_URL")
print x
Code: Select all
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
Code: Select all
python2-2_3
python27-2.7.9
python3-3_3
python32-3.2.5_12
python33-3.3.5_5
python34-3.4.3Not that reasonable, since the first line of trouble is in the feedparser.py code, a complicated third-party animal.eydaimon wrote:May I suggest for SABnzbd a couple of things then. First, stop retrying when this is the issue, and second post a message to the user that there's an SSL cert failure, and to contact the provider as a possible solution to fix the issue.Code: Select all
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
Sound reasonable?
Does that also cover RSS feeds?sander wrote: Ugly workaround (disabling the SSL checking): http://forums.sabnzbd.org/viewtopic.php ... 565#p98483
IIRC: Yes. As it all started with nzbindex.nl versus nzindex.com RSSshypike wrote:Does that also cover RSS feeds?sander wrote: Ugly workaround (disabling the SSL checking): http://forums.sabnzbd.org/viewtopic.php ... 565#p98483
It's specific for Python 2.7.9, no earlier version verifies certificates.eydaimon wrote:FYI using youtube_dl on the freebsd machine gives me the same error, whereas using youtube_dl on osx with the same version of python does not. ANy idea why that would make a difference?
Code: Select all
opt_out_of_certificate_verification = True
if opt_out_of_certificate_verification:
try:
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
except:
pass