It seems requests is having trouble connecting to the website. See if
connecting using requests directly from the interpreter prompt works or not:
<Response [200]>
I would also try installing/upgrading requests[security]:
$pip install -U requests[security]
On Wed, Nov 15, 2017 at 6:58 AM, Paul Schmehl <pschmehl(a)tx.rr.com> wrote:
I'm running MediaWiki 1.29.1 on FreeBSD
10.3-RELEASE running mysql 5.6.38,
php 7.1.10 and python 2.7.14. The wiki is working fine.
I installed pywikibot using git clone. The ID is $Id:
03e22e8ea7bf53dc7c9d47b6d7ad98c3c7afabb4.
When I try to generate the family file, I get this error:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='wiki
.vvfh.org', port=443): Max retries exceeded with url: / (Caused by
SSLError(SSLError("bad handshake: Error([('SSL routines',
'ssl3_get_server_certificate', 'certificate verify
failed')],)",),))
It's strange, because the certs verify from the commandline and SSLLabs
says the site rates an A and the entire chain is found. I'm not sure why
python is failing the verification test.
I've been googling and trying to find a way to disable ssl verification,
but I haven't found it. The software is installed on the server the wiki
runs on, and I'm running it from the commandline, so not verifying SSL
isn't a big issue. (Only I have access to the server.)
"The man who never looks into a newspaper is better informed than he who
reads them, inasmuch as he who knows nothing is nearer the truth than he
whose mind is filled with falsehoods and errors." - Thomas Jefferson
Paul Schmehl (pschmehl(a)tx.rr.com)
Independent Researcher
_______________________________________________
pywikibot mailing list
pywikibot(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot