This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iwetzel
Recipients iwetzel, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2019-05-15.20:59:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557953999.04.0.185273095926.issue36930@roundup.psfhosted.org>
In-reply-to
Content
I do run python 2.7/3.7 on a windows 7 host.
This host is AD managed. As part of the group policy the internet settings are set to automatically proxy configuration.
The configuration works. cos IE and Chrome can reach external and internal hosts. Some of the internal are excluded from proxy via no proxy rules inside the pac file.

But python request and urllib2 are not able to reach the internal addresses which are excluded via the proxy file rules. Python always tries to get the data from the proxy.

the only solution was an extra environmental variable NO_PROXY with the ips not to be reached via the proxy.

these excluded IPs are common IPs and not private ! (90.0.0.0/8) is part of the pac exclusion
History
Date User Action Args
2019-05-15 20:59:59iwetzelsetrecipients: + iwetzel, terry.reedy, paul.moore, tim.golden, zach.ware, steve.dower
2019-05-15 20:59:59iwetzelsetmessageid: <1557953999.04.0.185273095926.issue36930@roundup.psfhosted.org>
2019-05-15 20:59:58iwetzellinkissue36930 messages
2019-05-15 20:59:58iwetzelcreate