[Pywikipedia-bugs] [Maniphest] [Commented On] T211813: SSL CERTIFICATE_VERIFY_FAILED on generating family file
SgtLion added a comment. I suppose that makes sense; No surprise if this turns out to not be worth addressing, then~TASK DETAILhttps://phabricator.wikimedia.org/T211813EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SgtLionCc: Krenair, Mpaa, BBlack, Aklapper, pywikibot-bugs-list, SgtLion, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T211813: SSL CERTIFICATE_VERIFY_FAILED on generating family file
SgtLion updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION... File "/home/sgtlinuuser/dndwiki/core/pywikibot/site_detect.py", line 58, in __init__... File "/home/sgtlinuuser/dndwiki/core/pywikibot/comms/http.py", line 530, in fetch... File "/home/sgtlinuuser/dndwiki/core/pywikibot/comms/http.py", line 411, in error_handling_callback...TASK DETAILhttps://phabricator.wikimedia.org/T211813EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SgtLionCc: Aklapper, pywikibot-bugs-list, SgtLion, Legado_Shulgin, Wenyi, thifranc, AndyTan, Davinaclare77, Mahveotm, Qtn1293, Th3d3v1ls, Hfbn0, Tbscho, MayS, Zppix, Mdupont, JJMC89, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Dalba, faidon, Masti, Seb35, Alchimista, Rxy, Jay8g, Krenair, fgiunchedi___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Edited] T211813: SSL CERTIFICATE_VERIFY_FAILED on generating family file
SgtLion updated the task description. (Show Details)Restricted Application added a project: Operations. CHANGES TO TASK DESCRIPTION...``` ``` $ python3 pwb.py version.py Pywikibot: [https] r-p-pywikibot-core (3dbd82c, g10483, 2018/12/10, 11:41:03, ok) Release version: 3.1.dev0 requests version: 2.20.0 cacerts: /etc/pki/tls/certs/ca-bundle.crt certificate test: ok Python: 3.7.1 (default, Nov 23 2018, 10:01:49) [GCC 8.2.1 20181105 (Red Hat 8.2.1-5)] PYWIKIBOT_DIR: Not set PYWIKIBOT_DIR_PWB: PYWIKIBOT_NO_USER_CONFIG: 2 Config base dir: /home/user/dndwiki/core ``` Having a play in the meantime to just disable the HTTPS verification, but still frustratin' :(TASK DETAILhttps://phabricator.wikimedia.org/T211813EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SgtLionCc: Aklapper, pywikibot-bugs-list, SgtLion, Legado_Shulgin, Wenyi, thifranc, AndyTan, Davinaclare77, Mahveotm, Qtn1293, Th3d3v1ls, Hfbn0, Tbscho, MayS, Zppix, Mdupont, JJMC89, Avicennasis, Wong128hk, mys_721tx, Dinoguy1000, jayvdb, Dalba, faidon, Masti, Seb35, Alchimista, Rxy, Jay8g, Krenair, fgiunchedi___ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
[Pywikipedia-bugs] [Maniphest] [Created] T211813: SSL CERTIFICATE_VERIFY_FAILED on generating family file
SgtLion created this task.SgtLion added projects: Pywikibot, HTTPS.Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.Restricted Application added a project: Traffic. TASK DESCRIPTIONTested 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 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)'))) CRITICAL: Closing network session. Having a play in the meantime to just disable the HTTPS verification, but still frustratin' :(TASK DETAILhttps://phabricator.wikimedia.org/T211813WORKBOARDhttps://phabricator.wikimedia.org/project/board/87/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: SgtLionCc: 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 pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs