alexz-enwp / wikitools

Python package for working with MediaWiki wikis
105 stars 51 forks source link

Problem connecting with https-site #35

Open carchaias opened 8 years ago

carchaias commented 8 years ago
from wikitools import *
s = wiki.Wiki('https://aquanautweb.de/testwiki/api.php')

results in

==== RESTART: C:\Users\XXXXXXX\test_wikitools.py ====
URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:590)> trying request again in 5 seconds
URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:590)> trying request again in 10 seconds

What can be the problem?

mzmcbride commented 8 years ago

Are you still having this issue? If so, can you please test with https://test.wikipedia.org/w/api.php? It would help to narrow down whether just this site is affected or if other HTTPS sites are also having issues.

gnarcap commented 5 years ago

Hi, I'm having this issue as well: URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

Is there a way that an extra param can be passed into wiki.Wiki() to disable ssl certification verification like in the requests library?