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 ciprian.trofin
Recipients ciprian.trofin, orsenthil
Date 2010-03-26.08:43:53
SpamBayes Score 0.05323625
Marked as misclassified No
Message-id <1269593035.91.0.623078965909.issue8238@psf.upfronthosting.co.za>
In-reply-to
Content
I attached a screenshot.

The proxy is on the corporate network. I'm not setting it up, I'm only using it. Internet Explorer needs that setting in order to connect. Firefox needs this proxy set as "manual proxy configuration".

I looked deeper into the situatioan, usign the following (modified) script:

---------------------------------------------------
import time
import urllib2

timeMark = time.time()
opener = urllib2.build_opener()

proxy = urllib2.ProxyHandler({"http" : "http://10.249.1.63:80"})
opener.add_handler(proxy)

textWeb = opener.open("http://www.google.com/").read()

print time.time() - timeMark

---------------------------------------------------

The only difference from the script above: I set up the proxy manually.
I tested the new script in 2.6.5

With Windows proxy active: same problem, long waiting time.
With Windows proxy disabled: fast execution.
History
Date User Action Args
2010-03-26 08:43:55ciprian.trofinsetrecipients: + ciprian.trofin, orsenthil
2010-03-26 08:43:55ciprian.trofinsetmessageid: <1269593035.91.0.623078965909.issue8238@psf.upfronthosting.co.za>
2010-03-26 08:43:54ciprian.trofinlinkissue8238 messages
2010-03-26 08:43:53ciprian.trofincreate