Last modified: 2014-11-09 20:39:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74236, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72236 - Family.ignore_certificate_error does not work in py3
Family.ignore_certificate_error does not work in py3
Status: NEW
Product: Pywikibot
Classification: Unclassified
network (Other open bugs)
core-(2.0)
All All
: Unprioritized minor
: ---
Assigned To: Pywikipedia bugs
: upstream
Depends on:
Blocks: pwbpy3
  Show dependency treegraph
 
Reported: 2014-10-19 15:35 UTC by John Mark Vandenberg
Modified: 2014-11-09 20:39 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-10-19 15:35:00 UTC
py3 httplib2 (https://github.com/jcgregorio/httplib2/issues/173) has problems ignoring errors/not validating SSL certificates.

As a result, Family.ignore_certificate_error does not work in py3

  File "/usr/lib/python3.3/site-packages/httplib2/__init__.py", line 1156, in request
    self.disable_ssl_certificate_validation)
  File "/usr/lib/python3.3/site-packages/httplib2/__init__.py", line 830, in __init__
    check_hostname=True)
  File "/usr/lib64/python3.3/http/client.py", line 1183, in __init__
    raise ValueError("check_hostname needs a SSL context with "
ValueError: check_hostname needs a SSL context with either CERT_OPTIONAL or CERT_REQUIRED

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links