When executing this through a plugin or the console:
- Code: Select all
f = urllib2.urlopen("https://www.google.com/")
I immediately get a timeout error: "urllib2.URLError: <urlopen error The read operation timed out>"
I've tried changing the default timeout but it doesn't help.
Note: the same code works when I execute it through my local Python 2.5.4 shell