https://bugzilla.wikimedia.org/show_bug.cgi?id=72247
Bug ID: 72247 Summary: http module in py3 doesnt detect and treat SSL certificate errors correctly Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: network Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
Very closely related to bug 72009, the http module should detect SSL certificate errors and raise a FatalServerException so that api.py doesnt keep trying to connect. This works in py2, but py3 ssl error codes are different.
https://bugzilla.wikimedia.org/show_bug.cgi?id=72247
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=72236 Blocks| |72009
https://bugzilla.wikimedia.org/show_bug.cgi?id=72247
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 167546 had a related patch set uploaded by John Vandenberg: Detect and handle SSL certificate errors as fatal
https://gerrit.wikimedia.org/r/167546
https://bugzilla.wikimedia.org/show_bug.cgi?id=72247
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=72247
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 167546 merged by XZise: Detect and handle SSL certificate errors as fatal
https://gerrit.wikimedia.org/r/167546
https://bugzilla.wikimedia.org/show_bug.cgi?id=72247
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org