Page MenuHomePhabricator

compat using proxy with authentication fails
Closed, ResolvedPublic

Description

urllib2 https proxy auth has not yet been fixed in Proxy(Basic|Digest)AuthHandler for py2.6 & pt2.7.

http://bugs.python.org/issue7291

To workaround this bug, we must use ProxyHandler which has been fixed.

For the proxy support to be effective throughout the Pywikibot code, MyURLopener must be set as the default opener with urllib2.install_opener.

Event Timeline

jayvdb claimed this task.
jayvdb raised the priority of this task from to High.
jayvdb updated the task description. (Show Details)
jayvdb added a project: Pywikibot-compat.
jayvdb changed Security from none to None.
jayvdb moved this task from Backlog to Ready to go on the Pywikibot-compat board.
jayvdb added a subscriber: jayvdb.

Change 147073 had a related patch set uploaded (by John Vandenberg):
Fix https proxy auth

https://gerrit.wikimedia.org/r/147073

Aklapper lowered the priority of this task from High to Lowest.Jun 5 2015, 1:41 PM
Aklapper added a subscriber: Aklapper.

Pywikibot has two versions: Compat and Core. This task was filed about the older version, called Pywikibot-compat, which is not under active development anymore. Hence I'm lowering the priority of this task to reflect the reality. Unfortunately, the Pywikibot team does not have the manpower to retest every single bug report / feature request against the (maintained) Pywikibot code base. Furthermore, the code base of Pywikibot-Compat has changed a lot compared to the code base of Pywikibot-Core so there is a chance that the problem described in this task might not exist anymore. Please help: Unfortunately manpower is limited and does not allow testing every single reported task again. If you have time and interest in Pywikibot, please upgrade to Pywikibot-Core and add a comment to this task if the problem in this task still happens in Pywikibot-Core (or directly edit the task by removing the Pywikibot-compat project and adding the Pywikibot project to this task). To learn more about Pywikibot and to get involved in its development, please check out https://www.mediawiki.org/wiki/Manual:Pywikibot/Development Thank you for your understanding.

Change 147073 abandoned by John Vandenberg:
Fix https proxy auth

Reason:
It works correctly, but nobody cares ;-)

https://gerrit.wikimedia.org/r/147073

Change 147073 merged by jenkins-bot:
Fix https proxy auth

https://gerrit.wikimedia.org/r/147073