| SgtLion created this task. SgtLion added projects: Pywikibot, HTTPS. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Traffic. |
TASK DESCRIPTION
Tested with the latest github build. SSL CERTIFICATE_VERIFY_FAILED for https://dnd-wiki.org/wiki/Main_Page (which does have a valid SSL certificate):
$ python3 generate_family_file.py https://dnd-wiki.org/wiki/Main_Page dndwiki Generating family file from https://dnd-wiki.org/wiki/Main_Page Traceback (most recent call last): File "generate_family_file.py", line 226, in <module> FamilyFileGenerator(*sys.argv[1:]).run() File "generate_family_file.py", line 48, in run w = Wiki(self.base_url) File "/home/sgtlinu/dndwiki/core/pywikibot/site_detect.py", line 58, in __init__ r = fetch(fromurl) File "/home/sgtlinu/dndwiki/core/pywikibot/comms/http.py", line 530, in fetch error_handling_callback(request) File "/home/sgtlinu/dndwiki/core/pywikibot/comms/http.py", line 411, in error_handling_callback raise FatalServerError(str(request.data)) pywikibot.exceptions.FatalServerError: HTTPSConnectionPool(host='dnd-wiki.org', port=443): Max retries exceeded with url: /wiki/Main_Page (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))) <class 'pywikibot.exceptions.FatalServerError'> CRITICAL: Closing network session.
Having a play in the meantime to just disable the HTTPS verification, but still frustratin' :(
TASK DETAIL
EMAIL PREFERENCES
To: SgtLion
Cc: Aklapper, pywikibot-bugs-list, SgtLion, Wenyi, AndyTan, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, Dinoguy1000, jayvdb, Dalba, Masti, Seb35, Alchimista, Rxy, Jay8g, Krenair
Cc: Aklapper, pywikibot-bugs-list, SgtLion, Wenyi, AndyTan, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, Dinoguy1000, jayvdb, Dalba, Masti, Seb35, Alchimista, Rxy, Jay8g, Krenair
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
