[New-bugs-announce] [issue36930] Windows proxy settings automatically used ... partly

Immo Wetzel report at bugs.python.org
Wed May 15 16:59:59 EDT 2019


New submission from Immo Wetzel <immo.wetzel at adtran.com>:

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

----------
assignee: terry.reedy
components: IDLE, IO, Library (Lib), Windows
messages: 342601
nosy: iwetzel, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Windows proxy settings automatically used ... partly
versions: Python 2.7, Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36930>
_______________________________________


More information about the New-bugs-announce mailing list